Jump to content

Expanded party/RGBYJP: Difference between revisions

 
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 and after a certain point (before D1EA (party Pokémon 199) and after D124 (party Pokémon 1) for the 'door warp' effect).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.