- 48
- Posts
- 8
- Years
- Katones City
- Seen May 13, 2025
Hello good folks. This is a bit of straightforward but noobish problem. I wrote the following script:
And it is placed in a script tile that runs when variable 0x4054 has a value of 0. But once the player steps on the tile, the script executes normally but the player can't move afterwards. The bgm and other NPCs move just fine.
I feel like I missing out something obvious, I am just blind to notice.. Any help please? Thanks in advanced!
Spoiler:
#org 0xA172DD
lockall
applymovement MOVE_PLAYER 0x8A061A7
msgbox 0x8A172F7 MSG_NORMAL
waitmovement 0xFF
setvar 0x4054 0x5
releaseall
end
#org 0xA172F7
= You are several hundred feet below\nthe sea level and yet you can\lbreathe and move normally somehow!
#org 0xA061A7
#raw 0x62
#raw 0xFE
lockall
applymovement MOVE_PLAYER 0x8A061A7
msgbox 0x8A172F7 MSG_NORMAL
waitmovement 0xFF
setvar 0x4054 0x5
releaseall
end
#org 0xA172F7
= You are several hundred feet below\nthe sea level and yet you can\lbreathe and move normally somehow!
#org 0xA061A7
#raw 0x62
#raw 0xFE
And it is placed in a script tile that runs when variable 0x4054 has a value of 0. But once the player steps on the tile, the script executes normally but the player can't move afterwards. The bgm and other NPCs move just fine.
I feel like I missing out something obvious, I am just blind to notice.. Any help please? Thanks in advanced!
Last edited: