- 10
- Posts
- 4
- Years
- he/him
- Bri' 'an
- Seen Mar 4, 2022
Very new to rom hacking, the error i have is that when this script is walked on the player gets locked in place. I think the game crashes, but the music keeps playing but the visuals all stop. its using pksv-ui if that helps
any help appreciated :)
#org 0x8740BE6 - i have put this in the script offset
'-----------------------------------
checkflag 0x256
if false jump 0x8740BA5
end
#org 0x8740BA5
'-----------------------------------
setflag 0x256
lock
msgbox 0x8740A6A
callstd MSG_LOCK
reappear 0x4
applymovement PLAYER 0x8740B8B
applymovement 0x4 0x8740B8E
msgbox 0x8740A78
callstd MSG_YESNO
msgbox 0x8740AA9
callstd MSG_LOCK
applymovement 0x4 0x8740B94
disappear 0x4
releaseall
end
#org 0x8740A6A
= (speech, igonre this)
#org 0x8740A78
= (speech, igonre this)
#org 0x8740AA9
= (speech, igonre this)
#org 0x8740B8B
M (movement, igonre this)
#org 0x8740B8E
M (movement, igonre this)
#org 0x8740B94
M (movement, igonre this)
any help appreciated :)
#org 0x8740BE6 - i have put this in the script offset
'-----------------------------------
checkflag 0x256
if false jump 0x8740BA5
end
#org 0x8740BA5
'-----------------------------------
setflag 0x256
lock
msgbox 0x8740A6A
callstd MSG_LOCK
reappear 0x4
applymovement PLAYER 0x8740B8B
applymovement 0x4 0x8740B8E
msgbox 0x8740A78
callstd MSG_YESNO
msgbox 0x8740AA9
callstd MSG_LOCK
applymovement 0x4 0x8740B94
disappear 0x4
releaseall
end
#org 0x8740A6A
= (speech, igonre this)
#org 0x8740A78
= (speech, igonre this)
#org 0x8740AA9
= (speech, igonre this)
#org 0x8740B8B
M (movement, igonre this)
#org 0x8740B8E
M (movement, igonre this)
#org 0x8740B94
M (movement, igonre this)