Script script troubleshooting

Started by bootheidiot July 1st, 2020 6:47 PM
  • 311 views
  • 2 replies
Seen 1 Week Ago
Posted July 2nd, 2020
4 posts
175 Days
I'm newer to rom hacking and I've done a bit of it but I'm starting to get into slightly more complex scripts even though I don't think this is considered complex by people here but I was try to make a script where when you step on the tile with the script and then the sprite would move down and off the screen it would then take the player with it and when the player gets to the destination it would fade to black and do a bunch of text once the text finishes it would fade back to normal I'm sure there's probably a lot of errors but hopefully someone here knows how to fix it I'm using Pokemon fire red rom and pksvui for scripting

#dyn 0x740000
#org @main
lock
faceplayer
applymovement 0x4 @alert
message @talk
callstd MSG_NORMAL
applymovement 0x4 @room
disappear 0x4
setflag 0x1550
applymovement player @move
fadescreen FADEOUT_BLACK
message @talko
callstd MSG_NORMAL
fadescreen FADEIN_BLACK
message @finish
callstd MSG_NORMAL
release
end
#org @alert
m say_? say_! say_:) end
#org @talk
= my text here
#org @room
m walk_down walk_down walk_down walk_left walk_left walk_left walk_left walk_left walk_left walk_left walk_left walk_left walk_left walk_left walk_left end
#org @move
m run_left run_left run_left run_left run_left run_left run_left run_left run_left end
#org @talko
= my text here