User Tools

Site Tools


ff3:ff3us:doc:asm:codes:event_codes

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ff3:ff3us:doc:asm:codes:event_codes [2019/02/12 12:36]
127.0.0.1 external edit
ff3:ff3us:doc:asm:codes:event_codes [2025/02/17 15:46] (current)
drakeyc [Menus, Timers and Cinematics (96-aF)]
Line 25: Line 25:
  
 <code> <code>
-35 xx                   $C09C44     Pauses execution until camera queue is complete+35 xx                   $C09C44     Pauses execution until object xx'queue is complete
 36 xx                   $C09C6F     Disable ability to pass through objects for character XX 36 xx                   $C09C6F     Disable ability to pass through objects for character XX
 37 xx yy                $C09C8F     Assign graphic set yy to object xx 37 xx yy                $C09C8F     Assign graphic set yy to object xx
Line 68: Line 68:
 50 xx                   $C0A5FD     Tint screen (cumulative) (takes 32 executions at intensity 15 to saturate) 50 xx                   $C0A5FD     Tint screen (cumulative) (takes 32 executions at intensity 15 to saturate)
 51 ooorgbii pb pe       $C0A640     Modify BG color range from [pb, pe] 51 ooorgbii pb pe       $C0A640     Modify BG color range from [pb, pe]
-                                    001: Add color component +                                    ooo values: 
-                                    101: Subtract color component+                                       001: Add 1 to each color component, up to limit ii (4, 8, 16, 31) 
 +                                       010: Add 31 to each color component, up to limit 31 (Max out color component) 
 +                                       011: -1 to each active color component down until it's equal (not lower) to the original 
 +                                       100: Subtract 1 from each color component, down to limit ii (27, 23, 15, 0) 
 +                                       101: Subtract ii from each color component, down to 0 
 +                                       110: +1 to each active color component up until it's equal (not greater) to the original 
 +                                       111: Reset all palette modifiers
 52 xx                   $C0A686     Tint characters (cumulative) 52 xx                   $C0A686     Tint characters (cumulative)
 53 ooorgbii pb pe       $C0A6C5     Modify OBJ color range [pb, pe] 53 ooorgbii pb pe       $C0A6C5     Modify OBJ color range [pb, pe]
-54                      $C0A784+54                      $C0A784     End effects of commands for modified color components and screen flashes
 55 ci                   $C0A795     Flash screen with color component(s) c, intensity i 55 ci                   $C0A795     Flash screen with color component(s) c, intensity i
 56 ci                   $C0A7BA     Increase color component(s) c, intensity i 56 ci                   $C0A7BA     Increase color component(s) c, intensity i
Line 98: Line 104:
 ==== Map Actions (6A-76) ==== ==== Map Actions (6A-76) ====
 <code> <code>
-6A nnnn xx yy ff        $C0AB47     Loads map nnnn, positions party at (xx, yy)+6A nnnn xx yy ff        $C0AB47     Loads map nnnn, positions party at (xx, yy) after fade out
                                     ff:                                     ff:
                                     01:     Party is in airship                                     01:     Party is in airship
                                     02:     Party is on Chocobo                                     02:     Party is on Chocobo
-6B nnnn xx yy ff        $C0AB55     Loads map nnnn, positions party at (xx, yy)+6B nnnn xx yy ff        $C0AB55     Loads map nnnn, positions party at (xx, yy) instantly
 6C xxxx xx yy ff        $C0AC0B     Set parent map to xxxx, parent coordinates to (xx, yy) 6C xxxx xx yy ff        $C0AC0B     Set parent map to xxxx, parent coordinates to (xx, yy)
 70 xx yy                $C0A881     Scroll BG0 70 xx yy                $C0A881     Scroll BG0
Line 108: Line 114:
 72 xx yy                $C0A9AD     Scroll BG2 72 xx yy                $C0A9AD     Scroll BG2
 73 xx yy rr cc data...  $C0AC45     Copy data of size rr*cc to current map's BG0 at (xx, yy) and refresh background 73 xx yy rr cc data...  $C0AC45     Copy data of size rr*cc to current map's BG0 at (xx, yy) and refresh background
 +                                    Highest two bits of yy determines which layer to affect.
 +                                    & 0x00 is BG0            (Editor Layer 1)
 +                                    & 0x40 is BG1            (Editor Layer 2)
 +                                    & 0x80 is BG2            (Editor Layer 3)
 74 xx yy rr cc data...  $C0AC62     Copy data of size rr*cc to current map's BG0 at (xx, yy) 74 xx yy rr cc data...  $C0AC62     Copy data of size rr*cc to current map's BG0 at (xx, yy)
 +                                    Highest two bits of yy determines which layer to affect.
 +                                    & 0x00 is BG0            (Editor Layer 1)
 +                                    & 0x40 is BG1            (Editor Layer 2)
 +                                    & 0x80 is BG2            (Editor Layer 3)
 75                      $C0AC1F     Refresh background after map has been changed 75                      $C0AC1F     Refresh background after map has been changed
 </code> </code>
Line 114: Line 128:
 <code> <code>
 77 xx                   $C09F32     Restore character xx HP and MP to full 77 xx                   $C09F32     Restore character xx HP and MP to full
-78 xx                   $C09C7F     Enable ability to pass through other objects for object +78 xx                   $C09C7F     Enable ability to pass through other objects for object xx 
-79 xx yy zz             $C0A36A     Place party on map xxxx+79 xx nnnn              $C0A36A     Place party xx on map nnnn
 7A xx aaaaaa            $C0A42A     Modify entity event--call $aaaaaa+$CA0000 when triggered 7A xx aaaaaa            $C0A42A     Modify entity event--call $aaaaaa+$CA0000 when triggered
 7B                      $C0A441     Restore backup party to active status 7B                      $C0A441     Restore backup party to active status
Line 166: Line 180:
 9A                      $C0B0B2     Invoke Coliseum item selection screen 9A                      $C0B0B2     Invoke Coliseum item selection screen
 9B xx                   $C0B06D     Invoke shop xx 9B xx                   $C0B06D     Invoke shop xx
-9C xx                   $C0B08C+9C xx                   $C0B08C     Optimize equipment for character xx
 9D                      $C0B09C     Invoke Party Order screen (from final battle) 9D                      $C0B09C     Invoke Party Order screen (from final battle)
 A0 xx xx yy yy zz       $C0B0E0     Set timer to XXXX jiffies, jump to YYYY on expiration, flags ZZ (includes index, etc.) A0 xx xx yy yy zz       $C0B0E0     Set timer to XXXX jiffies, jump to YYYY on expiration, flags ZZ (includes index, etc.)
 A1 xx                   $C0B10E     Reset timer XX A1 xx                   $C0B10E     Reset timer XX
 A2                      $C0B130      A2                      $C0B130     
-A6                      $C0BA09      +A6                      $C0BA09     Delete rotating pyramids on layer 3 
-A7 xx                   $C0BA14     +A7 xx                   $C0BA14     Create rotating pyramids on layer 3 around NPC xx
 A8                      $C0BA51     Show Floating Island soaring into the sky A8                      $C0BA51     Show Floating Island soaring into the sky
 A9                      $C0B966     Show title screen A9                      $C0B966     Show title screen
ff3/ff3us/doc/asm/codes/event_codes.1549975016.txt.gz · Last modified: 2019/02/12 12:36 by 127.0.0.1