cooley
///Keepin' it simple
- 1,148
- Posts
- 18
- Years
- United States
- Seen Dec 5, 2014
so if i made my rom a 32MB one the scripts offsets must start at 0x8000000 ?
but the game freezes, or froze, because now it works, well i couldn't go there again beacause i was stuck so i put i release command. that i got alone xD
so here's the new script code
Spoiler:'---------------
#org 0x800000
checkflag 0x1000
if 0x1 goto 0x8800048
msgbox 0x880001C MSG_NORMAL
setflag 0x1000
release
end
'---------------
#org 0x800048
release
end
'---------
' Strings
'---------
#org 0x80001C
= Where am i ? I can't remember\nanything...
but either way i don't know how this works, beacause if you read it you notice the wrong combination of goto and its offset...
i'm not the kinda guy that thinks it works worray, i like to know why it works so if you could help, : ) also thanks for the reply earlier
(sorry for english i'm portuguese)
(also sorry for newbie mistakes while scripting, i strated to learn it yesterday)
Edit: i tried to put the release after setflag and didn't work, but if i put it where it is in the script in this spoiler it works
Edit: So if i got it right, the offsets must me like 0x800000 and so on, but the i should call for them with an extra 8 ? like 0x8800000 ? thanks for the help guys.
I said to put a release because it will allow the player to move again. But I then noticed you didn't put a lock command so I guess release wouldn't really work :\
And the 0x88000000 is just an indicator that it is decompiling from the ROM... You don't have to put the extra "8" in front of the 0x800000, XSE will make the corrections.
I fixed your script to save space and to be more friendlier. it should work the exact same way though.
BTW, did you put those offsets yourself? Or did you use Dynamic?