Expanded party/RGBYJP: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Line 1,043: | Line 1,043: | ||
*The Pokémon's status address defines it as poisoned; so the memory corruption can occur every four steps. |
*The Pokémon's status address defines it as poisoned; so the memory corruption can occur every four steps. |
||
**The status address is located +4 from the start of any slot Pokémon's main structure data (including beyond slot 6). |
**The status address is located +4 from the start of any slot Pokémon's main structure data (including beyond slot 6) (typically F337 (Echo RAM for D337) from party Pokémon 199 for the 'door warp' effect). |
||
Normal contents: |
Normal contents: |
||
Line 1,055: | Line 1,055: | ||
</tt> |
</tt> |
||
*The Pokémon's current HP address is greater than 0. |
*The Pokémon's current HP address is greater than 0. |
||
**The current HP addresses are located +1 and +2 (because current HP is stored in two bytes, from 0-65535) from the start of any slot Pokémon's main structure data. (typically F335 (Echo RAM for D335) from party Pokémon 199) |
**The current HP addresses are located +1 and +2 (because current HP is stored in two bytes, from 0-65535) from the start of any slot Pokémon's main structure data. (typically F335 (Echo RAM for D335) from party Pokémon 199 for the 'door warp' effect) |
||
*There should be no 0xFF bytes before the target Pokémon (for the typical 'from a new game' method, an exception is the initial misplaced 0xFF terminator in slot 1). |
*There should be no 0xFF bytes before the target Pokémon (for the typical 'from a new game' method, an exception is the initial misplaced 0xFF terminator in slot 1). |