User:Sanky/Scripting
Jump to navigation
Jump to search
Dumping the stuff I have figured out. The first T-Fanger script (inside the spring) begins at 0x150c38.
00 - end script (return to control to the player) 01 [bank] [id] - display text (not sure about bank mappings) 02 ? - also text 03 - nothing? 04 [frames] - sleep. this is used very often 05 - wait for A 06 - nothing? 07 [map?] [position?] - change map/warp 08 [map?] [position?] - warp antenna tree? (tries to open a small box with position) 09 ? - another warp 0a ? - another warp 0b ? - another warp 0c [direction] - turn Shigeki 0d [direction] - turn Shigeki (this one seems to be used) 0e - *hop* Shigeki 0f [direction] - *hop* Shigeki one space away 27 - *hop* this NPC 28 - *hop* this NPC 2c [direction] - *hop* partner Denjuu one space away 31 [party id] [t-fanger class] [enemy type] - battle! enemy type can be 0 (wild denjuu), 1 (t-fanger) or 2 (solo denjuu)? 32 same as above? 33 same as above? 44 [id] - sound effect 45 [id] - change music