ff3:ff3us:doc:asm:codes:overworld_vehicle_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ff3:ff3us:doc:asm:codes:overworld_vehicle_script [2016/04/03 08:54]
m06 created
ff3:ff3us:doc:asm:codes:overworld_vehicle_script [2019/02/12 10:00] (current)
Line 1: Line 1:
 ===== Overworld Vehicle Script Commands ===== ===== Overworld Vehicle Script Commands =====
  
-<code> 
  
-Movement (00-7F):+==== Movement (00-7F):==== 
 +<code>
   0dulrf?t nnnnnnnn   0dulrf?t nnnnnnnn
   |||||||| ________   |||||||| ________
Line 16: Line 16:
   ||_________________ d: go down   ||_________________ d: go down
   |__________________ always 0   |__________________ always 0
- +</code> 
-Conditionals (B0-BF):+==== Conditionals (B0-BF): ==== 
 +<code>
   ci: sbbbbbbb bbbbbiii   ci: sbbbbbbb bbbbbiii
       _ ___________ ___       _ ___________ ___
Line 42: Line 43:
 BF c1 c2 c3 c4 c5 c6 c7 c8 aaaaaa   if(c1 && c2 && c3 && c4 && c5 && c6 && c7 && c8), goto aaaaaa BF c1 c2 c3 c4 c5 c6 c7 c8 aaaaaa   if(c1 && c2 && c3 && c4 && c5 && c6 && c7 && c8), goto aaaaaa
  
-C0 xx                   $EE71FB +C0 xx                   $EE71FB     Modify vehicle behavior 
-C1 xx yy                $EE7209 +C1 xx yy                $EE7209     set vehicle's direction to X 
-C2 xx yy                $EE721C +C2 xx yy                $EE721C     set vehicle's propulsion direction to X 
-C3 xx yy                $EE722F +C3 xx yy                $EE722F     Rotate the sky (unused, and probably ineffective) 
-C4 xx yy                $EE7242+C4 xx yy                $EE7242     (unused; affects the Mode 7 BG)
 C5 xx yy                $EE7255     Set altitude to yy (xx?) C5 xx yy                $EE7255     Set altitude to yy (xx?)
 C6 xx yy                $EE7268     Go forward  C6 xx yy                $EE7268     Go forward 
-C7 xx yy                $EE727B +C7 xx yy                $EE727B     Place airship at position X,Y 
- +</code> 
-Bit manipulation (C8-C9):+==== Bit manipulation (C8-C9): ==== 
 +<code>
   bbbbbbbb bbbbbiii   bbbbbbbb bbbbbiii
    ____________ ___    ____________ ___
Line 59: Line 61:
 C8 xxxx                 $EE7292     Set event bit C8 xxxx                 $EE7292     Set event bit
 C9 xxxx                 $EE72BB     Clear event bit C9 xxxx                 $EE72BB     Clear event bit
 +</code> 
 +==== Other (CA-FF) ==== 
 +<code>
 CA xx bb                $EE72EA     Battle enemy set xx, background image bb CA xx bb                $EE72EA     Battle enemy set xx, background image bb
 D0                      $EE732F     Show vehicle D0                      $EE732F     Show vehicle
Line 65: Line 69:
 D2 nnnn xx yy mm        $EE7345     Load map nnnn, position (xx, yy), mode mm D2 nnnn xx yy mm        $EE7345     Load map nnnn, position (xx, yy), mode mm
 D3 nnnn xx yy mm        $EE73A2     Load map nnnn, position (xx, yy), mode mm D3 nnnn xx yy mm        $EE73A2     Load map nnnn, position (xx, yy), mode mm
-D8                      $EE7402     Unfade screen+D4-D8                   $EE7402     Unfade screen
 D9                      $EE740B     Fade screen D9                      $EE740B     Fade screen
 DA                      $EE7412     Show flashing arrows indicating the direction you're turning DA                      $EE7412     Show flashing arrows indicating the direction you're turning
-DB                      $EE7423 +DB                      $EE7423     Lock in arrow choice 
-DC                      $EE742E+DC                      $EE742E     Hide flashing arrows
 DD                      $EE7439     Hide mini-map DD                      $EE7439     Hide mini-map
-DE xx yy                $EE744E     +DE xx yy                $EE744E     Change Mode 7 BG horizontal scroll (unused)
 DF                      $EE7461     Show mini-map DF                      $EE7461     Show mini-map
 E0 xx                   $EE7473     Pause for xx units E0 xx                   $EE7473     Pause for xx units
-E1-F2                   $EE74A4                      +E1-F2                   $EE74A4     (unused)       
 F3                      $EE74B0     Show part of world getting zapped F3                      $EE74B0     Show part of world getting zapped
 F4                      $EE74C4     Change graphic to Falcon F4                      $EE74C4     Change graphic to Falcon
 F5                      $EE753D     Show part of world getting zapped F5                      $EE753D     Show part of world getting zapped
-F6                      $EE7551+F6                      $EE7551     (unused)
 F7                      $EE755D     Change graphic to pidgeon F7                      $EE755D     Change graphic to pidgeon
 F8                      $EE7568     Show part of world getting blown up F8                      $EE7568     Show part of world getting blown up
-F9                      $EE7574 +F9                      $EE7574     Show part of world getting zapped, produce explosions (unused; freezes the game) 
-FA                      $EE7580+FA                      $EE7580     Show airship emerging from the ocean 
 FB                      $EE758C     Show Airship smoking FB                      $EE758C     Show Airship smoking
 FC                      $EE759B     Show Airship crashing FC                      $EE759B     Show Airship crashing
  • ff3/ff3us/doc/asm/codes/overworld_vehicle_script.1459673651.txt.gz
  • Last modified: 5 years ago
  • (external edit)