Pokémon Blue any% No Save Corruption speedrun route: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Decapitalized the T in "Trainer escape glitch") |
m (Text replacement - "~" to "–") |
||
Line 110: | Line 110: | ||
! Program counter !! Hex !! ASM !! In-game meaning !! In-game value !! Comments |
! Program counter !! Hex !! ASM !! In-game meaning !! In-game value !! Comments |
||
|- |
|- |
||
| $F8FF |
| $F8FF – $F9AB || 00 (*173) || nop || Main data of enemy Pokémon 3–6 || (empty) || |
||
|- |
|- |
||
| $F9AC || AC || '''xor h''' || rowspan=9 | OT name of enemy Pokémon 1<br/>(Actually the player's name) || m || a = 0x07 |
| $F9AC || AC || '''xor h''' || rowspan=9 | OT name of enemy Pokémon 1<br/>(Actually the player's name) || m || a = 0x07 |
||
Line 128: | Line 128: | ||
| $F9B3 || 50 || ld d, b || (terminator) || |
| $F9B3 || 50 || ld d, b || (terminator) || |
||
|- |
|- |
||
| $F9B4 |
| $F9B4 – $F9B6 || 00 (*3) || nop || (empty) || |
||
|- |
|- |
||
| $F9B7 || AC || '''xor h''' || rowspan=9 | OT name of enemy Pokémon 2<br/>(Actually the player's name) || m || a = 0x76 |
| $F9B7 || AC || '''xor h''' || rowspan=9 | OT name of enemy Pokémon 2<br/>(Actually the player's name) || m || a = 0x76 |
||
Line 146: | Line 146: | ||
| $F9BE || 50 || ld d, b || (terminator) || |
| $F9BE || 50 || ld d, b || (terminator) || |
||
|- |
|- |
||
| $F9BF |
| $F9BF – $F9C1 || 00 (*3) || nop || (empty) || |
||
|- |
|- |
||
| $F9C2 |
| $F9C2 – $F9ED || 00 (*44) || nop || OT names of enemy Pokémon 3–6 || (empty) || |
||
|- |
|- |
||
| $F9EE |
| $F9EE – $FA2F || 00 (*66) || nop || Nicknames of enemy Pokémon 1–6 || (empty) || |
||
|- |
|- |
||
| $FA30 || 51 || ld d, c || rowspan=2 | Trainer header pointer || rowspan=2 | $5142 || |
| $FA30 || 51 || ld d, c || rowspan=2 | Trainer header pointer || rowspan=2 | $5142 || |
||
Line 156: | Line 156: | ||
| $FA31 || 42 || ld b, d || |
| $FA31 || 42 || ld b, d || |
||
|- |
|- |
||
| $FA32 |
| $FA32 – $FA38 || 00 (*7) || nop || Unused at this point || || |
||
|- |
|- |
||
| rowspan=2 | $FA39 || rowspan=2 | 08 00 00 || rowspan=2 | ld ($0000), sp || Current meta-map script ID || 8 || rowspan=2 | |
| rowspan=2 | $FA39 || rowspan=2 | 08 00 00 || rowspan=2 | ld ($0000), sp || Current meta-map script ID || 8 || rowspan=2 | |
||
Line 162: | Line 162: | ||
| Unused || |
| Unused || |
||
|- |
|- |
||
| $FA3C |
| $FA3C – $FA40 || 00 (*5) || nop || Unused || || |
||
|- |
|- |
||
| $FA41 || ?? || ?? || rowspan=5 | In-game timer || (hours) || rowspan=2 | Certainly 00 (nop) for a speedrun |
| $FA41 || ?? || ?? || rowspan=5 | In-game timer || (hours) || rowspan=2 | Certainly 00 (nop) for a speedrun |
||
Line 174: | Line 174: | ||
| $FA45 || ?? || '''??''' || (frames) |
| $FA45 || ?? || '''??''' || (frames) |
||
|- |
|- |
||
| $FA46 |
| $FA46 – $FA7F || 00 (*58) || nop || Safari data, Daycare data, Unused || (empty) || |
||
|- |
|- |
||
| rowspan=3 | $FA80 || rowspan=3 | 01 ?? FF || rowspan=3 | ld bc, 0xFF?? || Current box Pokémon count || 1 || rowspan=3 | |
| rowspan=3 | $FA80 || rowspan=3 | 01 ?? FF || rowspan=3 | ld bc, 0xFF?? || Current box Pokémon count || 1 || rowspan=3 | |
||
Line 182: | Line 182: | ||
| Species of current box Pokémon 2 || 0xFF terminator |
| Species of current box Pokémon 2 || 0xFF terminator |
||
|- |
|- |
||
| $FA83 |
| $FA83 – $FA95 || 00 (*19) || nop || Species of current box Pokémon 3–21 || (empty) || |
||
|- |
|- |
||
| $FA96 |
| $FA96 – $FAA1 || ?? (*12) || (safe) || Main data of current box Pokémon 1 || (safe) || Should contain only safe values for level 5–6 starter with full HP |
||
|- |
|- |
||
| $FAA2 || F1 || '''pop af''' || rowspan=2 | Original Trainer ID of current box Pokémon 1 || rowspan=2 | 61896 (0xF1C8) || a = 0x76, f = 0xA0 |
| $FAA2 || F1 || '''pop af''' || rowspan=2 | Original Trainer ID of current box Pokémon 1 || rowspan=2 | 61896 (0xF1C8) || a = 0x76, f = 0xA0 |