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 [2021/06/14 03:10]
rycona [Character and Party Actions (77-90)]
ff3:ff3us:doc:asm:codes:event_codes [2025/02/17 15:46] (current)
drakeyc [Menus, Timers and Cinematics (96-aF)]
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]
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 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.1623640213.txt.gz · Last modified: 2021/06/14 03:10 by rycona