Expanded party/RGBYJP: Difference between revisions

Jump to navigation Jump to search
Line 1,060:
**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. If the current HP is equal to 0, the dokokashira warp won't change; it will remain at Pallet Town. In fact, the value of D335 ''is'' the warp destination (except for the door IDs/warps that change D335 to the current location). If D334 is greater than 0, there is an exception to the rule; as a two-byte value this means for every 256 steps D334 is reduced by 1 and D335 becomes 0xFF - if this is achieved higher map IDs (such as Lorelei's Pokémon League room) are possible.
*There must be no 0xFF before D1EA and after D124.
*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).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu