Editing User:Sanky/Scripting
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Dumping the stuff I have figured out. | Dumping the stuff I have figured out. | ||
The first T-Fanger script (inside the spring) begins at 0x150c38. | |||
<pre> | <pre> | ||
Line 18: | Line 19: | ||
0e - *hop* Shigeki | 0e - *hop* Shigeki | ||
0f [direction] - *hop* Shigeki one space away | 0f [direction] - *hop* Shigeki one space away | ||
23 [npc] [ | 23 [npc] [position]* - make an npc move, ends with 00 ? | ||
27 [byte?] - *hop* this NPC | |||
27 [ | 28 [byte?] - *hop* this NPC | ||
28 [ | |||
2c [direction] - *hop* partner Denjuu one space away | 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)? | 31 [party id] [t-fanger class] [enemy type] - battle! enemy type can be 0 (wild denjuu), 1 (t-fanger) or 2 (solo denjuu)? | ||
Line 28: | Line 28: | ||
44 [id] - sound effect | 44 [id] - sound effect | ||
45 [id] - change music | 45 [id] - change music | ||
</pre> | </pre> | ||
thus, the t-fanger script dissected: | |||
<pre> | <pre> | ||
04 04 - sleep 4 frames | 04 04 - sleep 4 frames | ||
Line 72: | Line 52: | ||
04 32 - sleep | 04 32 - sleep | ||
01 03 ac - text "S-strong…" | 01 03 ac - text "S-strong…" | ||
23 00 11 78 - move npc | 23 00 11 78 57 00 - move npc in those positions | ||
23 00 13 78 57 00 - I'm not sure why is this repeated | |||
23 00 13 78 | 23 00 03 78 57 00 - ??? | ||
57 00 - | 25 00 help me I'm lost | ||
23 00 03 78 | |||
57 00 - ??? | |||
25 00 | |||
</pre> | </pre> | ||