- 8
- Posts
- 6
- Years
- Seen May 5, 2019
I need help with this script, basically im trying to make it so you need the secret key from cinnabar island to get into cerulean cave instead of having to do the sevi islands story line. The problem I have is that when I enter a pokemon center and use the PC or heal up my script no longer works and I dont need the key to enter, I can just walk in. I'm pretty new to at this and really just trying to learn something new but i cant figure out why it's doing this. Any help would be much appreciated!
'---------------
#org 0x801900
checkitem 0x15F 0x1
if 0x0 goto 0x880190E
release
end
'---------------
#org 0x80190E
lockall
applymovement MOVE_PLAYER 0x8801947
waitmovement 0x0
pause 0x14
msgbox 0x8801932 MSG_KEEPOPEN '"NEEDS SECRET KEY [.]"
closeonkeypress
applymovement MOVE_PLAYER 0x880194A
waitmovement 0x0
release
end
'---------
' Strings
'---------
#org 0x801932
= NEEDS SECRET KEY [.]
'-----------
' Movements
'-----------
#org 0x801947
#raw 0x2E 'Face Up (Delayed)
#raw 0xFE 'End of Movements
#org 0x80194A
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements
'---------------
#org 0x801900
checkitem 0x15F 0x1
if 0x0 goto 0x880190E
release
end
'---------------
#org 0x80190E
lockall
applymovement MOVE_PLAYER 0x8801947
waitmovement 0x0
pause 0x14
msgbox 0x8801932 MSG_KEEPOPEN '"NEEDS SECRET KEY [.]"
closeonkeypress
applymovement MOVE_PLAYER 0x880194A
waitmovement 0x0
release
end
'---------
' Strings
'---------
#org 0x801932
= NEEDS SECRET KEY [.]
'-----------
' Movements
'-----------
#org 0x801947
#raw 0x2E 'Face Up (Delayed)
#raw 0xFE 'End of Movements
#org 0x80194A
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements