Users browsing this thread: 1 Guest(s)
Portraits in Dialog Boxes (Notes)
03-11-2011, 09:10 AM
Example of code used for displaying character portraits for endings.
Calling the command E7 XX will not work by itself, just tested it...
Calling the command E7 XX will not work by itself, just tested it...
Code:
CA/149A: E7 Unknown command, parameter $02
CA/149C: D2 Set event bit $1E80($1C6) [$1EB8, bit 6]
CA/149E: 6B Load map $00D2 (Doma Castle, dark (ending without Cyan)) instantly, (upper bits $0400), place party at (18, 43), facing up
CA/14A4: 10 Begin action queue for character $10 (NPC $10), 4 bytes long
CA/14A6: 81 Move vehicle/entity right 1 tile
CA/14A7: FC Branch 1 bytes backwards ($CA14A6)
CA/14A9: FF End queue
CA/14AA: 11 Begin action queue for character $11 (NPC $11), 3 bytes long
CA/14AC: FC Branch 5 bytes backwards ($CA14A7)
CA/14AE: FF End queue
CA/14AF: 12 Begin action queue for character $12 (NPC $12), 3 bytes long
CA/14B1: FC Branch 5 bytes backwards ($CA14AC)
CA/14B3: FF End queue
CA/14B4: 13 Begin action queue for character $13 (NPC $13), 3 bytes long
CA/14B6: FC Branch 5 bytes backwards ($CA14B1)
CA/14B8: FF End queue
CA/14B9: 61 Colorize color range [$04, $77] to color $07
CA/14BD: B0 Execute the following commands until $B1 6 times
CA/14BF: 50 Tint screen (cumulative) with color $9F
CA/14C1: B1 End block of repeating commands
CA/14C2: 96 Restore screen from fade
CA/14C3: 30 Begin action queue for character $30 (Camera), 6 bytes long
CA/14C5: C0 Set vehicle/entity's event speed to slowest
CA/14C6: 9D Move vehicle/entity right 8 tiles
CA/14C7: 9D Move vehicle/entity right 8 tiles
CA/14C8: 9D Move vehicle/entity right 8 tiles
CA/14C9: 8D Move vehicle/entity right 4 tiles
CA/14CA: FF End queue
CA/14CB: B5 Pause for 15 * 103 (1545) units
CA/14CD: B0 Execute the following commands until $B1 25 times
CA/14CF: 50 Tint screen (cumulative) with color $9F
CA/14D1: B1 End block of repeating commands
CA/14D2: 95 Pause for 120 units
CA/14D3: 97 Fade screen to black
CA/14D4: D3 Clear event bit $1E80($1C6) [$1EB8, bit 6]
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)