- 91
- Posts
- 11
- Years
- Age 30
- He/him
- Massachusetts
- Seen Mar 8, 2024
Okay, so I have a script and it runs pretty well for one I almost completely wrote on my own. Here's the script:
When the @move part happens, it works. But then instead of playing the message, the NPC then does their movement @move 3 (back to their chair). And then they face down, instead of facing right like I want them to. Then the game is stuck, even though I have the "release" and "end" at the end of the script. Why isn't it working?
And where do I put the Running Shoes offset in the script? I'm not sure on that. Thank you. :)
Spoiler:
#dynamic 0x800000
#org @start
checkflag 0x828
if 0x1 goto @done
applymovement 0x1 @move
waitmovement 0x0
applymovement 0xFF @move2
msgbox @shoes 0x6
applymovement 0x1 @move3
waitmovement 0x0
release
end
#org @done
release
end
#org @move
#raw 0x04
#raw 0x04
#raw 0x0B
#raw 0x0B
#raw 0x0B
#raw 0x0B
#raw 0x02
#org @move2
#raw 0x02
#org @move3
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0x05
#raw 0x05
#raw 0x03
#org @shoes
= Good morning, honey!\pProfessor Adler told me that he wants \lto see you in his lab.\lPut on your Running Shoes\l and head to Loyoto Village.
#org @start
checkflag 0x828
if 0x1 goto @done
applymovement 0x1 @move
waitmovement 0x0
applymovement 0xFF @move2
msgbox @shoes 0x6
applymovement 0x1 @move3
waitmovement 0x0
release
end
#org @done
release
end
#org @move
#raw 0x04
#raw 0x04
#raw 0x0B
#raw 0x0B
#raw 0x0B
#raw 0x0B
#raw 0x02
#org @move2
#raw 0x02
#org @move3
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0x0A
#raw 0x05
#raw 0x05
#raw 0x03
#org @shoes
= Good morning, honey!\pProfessor Adler told me that he wants \lto see you in his lab.\lPut on your Running Shoes\l and head to Loyoto Village.
When the @move part happens, it works. But then instead of playing the message, the NPC then does their movement @move 3 (back to their chair). And then they face down, instead of facing right like I want them to. Then the game is stuck, even though I have the "release" and "end" at the end of the script. Why isn't it working?
And where do I put the Running Shoes offset in the script? I'm not sure on that. Thank you. :)