- 60
- Posts
- 9
- Years
- The Sky of course
- Seen Nov 4, 2022
Hey guys, I was working on a long script and towards the end I encountered a problem. The script with the error is down below, as it always is. Now in the script that is being skipped down below, 4 applymovements are applied at the same time, so 4 npcs move at the same time. But instead of 4 npcs moving, only the first 2 move. I did a bit of testing though, and found out that no matter what order I put them in, only npcs 8 & 9 will move. (in this specific script) 10 & 11 will remain locked, even if I remove showsprite. The npc information and script (that is having errors, not the entire thing) is below. Also, I'm hacking ruby, just want to note.
applymovement 0x8 @walk10
applymovement 0x9 @walk11
showsprite 0x10
applymovement 0x10 @walk12
showsprite 0x11
applymovement 0x11 @walk13
waitmovement 0x0
playsong 0x01B2 0x0
release
end
#org @walk10
#raw 0x18
#raw 0xFE 'End of Movements
#org @walk11
#raw 0x18
#raw 0xFE 'End of Movements
#org @walk12
#raw 0x18
#raw 0xFE 'End of Movements
#org @walk13
#raw 0x18
#raw 0xFE 'End of Movements
applymovement 0x8 @walk10
applymovement 0x9 @walk11
showsprite 0x10
applymovement 0x10 @walk12
showsprite 0x11
applymovement 0x11 @walk13
waitmovement 0x0
playsong 0x01B2 0x0
release
end
#org @walk10
#raw 0x18
#raw 0xFE 'End of Movements
#org @walk11
#raw 0x18
#raw 0xFE 'End of Movements
#org @walk12
#raw 0x18
#raw 0xFE 'End of Movements
#org @walk13
#raw 0x18
#raw 0xFE 'End of Movements
Last edited: