- 760
- Posts
- 15
- Years
- Seen yesterday
Hi all,
I recently started scripting so this might be a noob question.
Got a problem with the PC of my protagonist. I copied the script from Fire Red into my own ROM, but for some reason the script doesn't end when clicking cancel.
My problem in-game:
I don't see the problem in the script.
'---------------
#org 0x805C80
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x8805CB4
lockall
setvar 0x8004 0x20
special 0x17D
setvar 0x8004 0x1
special 0xD6
sound 0x4
msgbox 0x8805D20 MSG_KEEPOPEN '"[player] booted up the PC."
special 0xF9
waitstate
special 0x190
releaseall
end
'---------------
#org 0x805CB4
release
end
'---------
' Strings
'---------
#org 0x805D20
= [player] booted up the PC.
------------------------------------
Anyone knows why this occurs?
I recently started scripting so this might be a noob question.
Got a problem with the PC of my protagonist. I copied the script from Fire Red into my own ROM, but for some reason the script doesn't end when clicking cancel.
My problem in-game:
I don't see the problem in the script.
'---------------
#org 0x805C80
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x8805CB4
lockall
setvar 0x8004 0x20
special 0x17D
setvar 0x8004 0x1
special 0xD6
sound 0x4
msgbox 0x8805D20 MSG_KEEPOPEN '"[player] booted up the PC."
special 0xF9
waitstate
special 0x190
releaseall
end
'---------------
#org 0x805CB4
release
end
'---------
' Strings
'---------
#org 0x805D20
= [player] booted up the PC.
------------------------------------
Anyone knows why this occurs?