Difference between revisions of "FF7/WorldMap Module/Script/Opcodes"
< FF7 | WorldMap Module | Script
Jump to navigation
Jump to search
my_wiki>Aali |
my_wiki>Aali |
||
Line 59: | Line 59: | ||
[[FF7/WorldMap_Module/Script/Opcodes/30d|30d unknown]] | [[FF7/WorldMap_Module/Script/Opcodes/30d|30d unknown]] | ||
[[FF7/WorldMap_Module/Script/Opcodes/30e|30e active entity play animation]] | [[FF7/WorldMap_Module/Script/Opcodes/30e|30e active entity play animation]] | ||
− | [[FF7/WorldMap_Module/Script/Opcodes/310|310 set active | + | [[FF7/WorldMap_Module/Script/Opcodes/310|310 set active point]] |
− | [[FF7/WorldMap_Module/Script/Opcodes/311|311 set | + | [[FF7/WorldMap_Module/Script/Opcodes/311|311 set point mesh coordinates]] |
− | [[FF7/WorldMap_Module/Script/Opcodes/312|312 set | + | [[FF7/WorldMap_Module/Script/Opcodes/312|312 set point coordinates in mesh]] |
− | [[FF7/WorldMap_Module/Script/Opcodes/313|313 set | + | [[FF7/WorldMap_Module/Script/Opcodes/313|313 set point terrain BGR]] |
− | [[FF7/WorldMap_Module/Script/Opcodes/314|314 set | + | [[FF7/WorldMap_Module/Script/Opcodes/314|314 set point dropoff parameters]] |
− | [[FF7/WorldMap_Module/Script/Opcodes/315|315 set | + | [[FF7/WorldMap_Module/Script/Opcodes/315|315 set point sky BGR]] |
− | [[FF7/WorldMap_Module/Script/Opcodes/316|316 set | + | [[FF7/WorldMap_Module/Script/Opcodes/316|316 set point BGR3?]] |
[[FF7/WorldMap_Module/Script/Opcodes/317|317 trigger battle]] | [[FF7/WorldMap_Module/Script/Opcodes/317|317 trigger battle]] | ||
[[FF7/WorldMap_Module/Script/Opcodes/318|318 unknown]] | [[FF7/WorldMap_Module/Script/Opcodes/318|318 unknown]] |
Revision as of 17:41, 5 August 2014
Contents
Stack Operations: Arithmetic
015 push neg 017 push logicnot 018 push distance from active entity to light 019 push distance from active entity to entity by model id 01b push unknown 030 push mul 040 push add 041 push sub 050 push shl 051 push shr 060 push less 061 push greater 062 push lessequal 063 push greaterequal 070 push equal 080 push and 0a0 push or 0b0 push logicand 0c0 push logicor 0e0 write bank
Stack Operations: Data Sources
100 reset stack 110 push constant 114 push bit from bank0 117 push special 118 push byte from bank0 119 push byte from bank1 11b push special 11c push word from bank0 11d push word from bank1 11f push special
Flow Control
200 jump 201 jump if false 203 return 204 unknown
System Operations
300 set active entity from model id 302 move active entity to top of entity list? 303 unknown 304 unknown 305 set wait frames 306 wait? 307 unknown 308 set active entity mesh coordinates 309 set active entity coordinates in mesh 30a unknown 30b set active entity y offset 30c enter vehicle? 30d unknown 30e active entity play animation 310 set active point 311 set point mesh coordinates 312 set point coordinates in mesh 313 set point terrain BGR 314 set point dropoff parameters 315 set point sky BGR 316 set point BGR3? 317 trigger battle 318 unknown 319 unknown 31b noop 31c unknown 31d play sound effect 31f unknown 320 unknown 321 unknown 324 set window dimensions 325 set window message 326 set window prompt 327 wait for prompt acknowledge? 328 unknown 329 unknown 32a unknown 32b set battle lock 32c set window parameters 32d wait for window ready 32e wait for message acknowledge 32f unknown 330 set active entity from model id 331 unknown 332 unknown 333 unknown 334 unknown 336 unknown 339 unknown 33a unknown 33b fade out? 33c set field entry point? 33d set field entry point2? 33e unknown 347 move active entity to entity by model id? 348 fade in? 349 set world progress 34a unknown 34b set chocobo type 34c set submarine color 34d unknown 34e unknown 34f set active entity y position 350 set meteor texture on/off 351 set music volume 352 shake camera on/off 353 unknown 354 unknown 355 unknown