- 36
- Posts
- 6
- Years
- Seen Apr 18, 2024
So I'm new to using scripts, is there a script for moving the player back one tile and telling them it's unsafe to go somewhere if they don't have a Pokemon yet? Thanks!
Here's my script so far, the message shows but the player isn't locked or moved anywhere. Is there something wrong?
Here's my script so far, the message shows but the player isn't locked or moved anywhere. Is there something wrong?
Spoiler:
'---------------
#org 0x800000
lock
msgbox 0x8800020 MSG_NORMAL '"It's dangerous in the grass \nwith..."
checkflag 0x240
if 0x1 goto 0x8800013
'---------------
#org 0x800013
applymovement MOVE_PLAYER 0x88000F6
waitmovement 0x0
release
end
'---------
' Strings
'---------
#org 0x800020
= It's dangerous in the grass \nwithout a Pokémon!
'-----------
' Movements
'-----------
#org 0x8000F6
#raw 0x0 'Face Down
#raw 0x10 'Step Down (Normal)
#org 0x800000
lock
msgbox 0x8800020 MSG_NORMAL '"It's dangerous in the grass \nwith..."
checkflag 0x240
if 0x1 goto 0x8800013
'---------------
#org 0x800013
applymovement MOVE_PLAYER 0x88000F6
waitmovement 0x0
release
end
'---------
' Strings
'---------
#org 0x800020
= It's dangerous in the grass \nwithout a Pokémon!
'-----------
' Movements
'-----------
#org 0x8000F6
#raw 0x0 'Face Down
#raw 0x10 'Step Down (Normal)
Last edited: