Expanded party/RGBYJP: Difference between revisions
Line 1,046: | Line 1,046: | ||
*The Pokémon's status address defines it as poisoned; so the memory corruption can occur every four steps. Note that in the case of this glitch, the poison screen transition/sound effect may not occur but the Pokémon is still poisoned. |
*The Pokémon's status address defines it as poisoned; so the memory corruption can occur every four steps. Note that in the case of this glitch, the poison screen transition/sound effect may not occur but the Pokémon is still poisoned. |
||
**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. Entering Pallet Town is a 'good' value; setting the address to 0x0C. Since bit 0x3 is set (in addition to bit 0x2) for 0x0C, the "poison" effect is active. If the poison is not active the |
***Typically F337 (Echo RAM for D337) from party Pokémon 199 for the 'door warp' effect. Entering Pallet Town is a 'good' value; setting the address to 0x0C. Since bit 0x3 is set (in addition to bit 0x2) for 0x0C, the "poison" effect is active. If the poison is not active, the wrong warp won't change. |
||
Normal contents: |
Normal contents: |
||
Line 1,059: | Line 1,059: | ||
*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. |
**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. 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. |
***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 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). |
Revision as of 19:30, 11 May 2022
This is a sub-page of expanded party, covering the start of memory address structures for Pokémon beyond slot 6 in the Japanese versions of Pokémon Red, Green, Blue, and Yellow and uses for practical glitches.
Pokémon 1-256's (species byte 1) data:
- D124
- D125
- D126
- D127
- D128
- D129
- D12A
- D12B
- D12C
- D12D
- D12E
- D12F
- D130
- D131
- D132
- D133
- D134
- D135
- D136
- D137
- D138
- D139
- D13A
- D13B
- D13C
- D13D
- D13E
- D13F
- D140
- D141
- D142
- D143
- D144
- D145
- D146
- D147
- D148
- D149
- D14A
- D14B
- D14C
- D14D
- D14E
- D14F
- D150
- D151
- D152
- D153
- D154
- D155
- D156
- D157
- D158
- D159
- D15A
- D15B
- D15C
- D15D
- D15E
- D15F
- D160
- D161
- D162
- D163
- D164
- D165
- D166
- D167
- D168
- D169
- D16A
- D16B
- D16C
- D16D
- D16E
- D16F
- D170
- D171
- D172
- D173
- D174
- D175
- D176
- D177
- D178
- D179
- D17A
- D17B
- D17C
- D17D
- D17E
- D17F
- D180
- D181
- D182
- D183
- D184
- D185
- D186
- D187
- D188
- D189
- D18A
- D18B
- D18C
- D18D
- D18E
- D18F
- D190
- D191
- D192
- D193
- D194
- D195
- D196
- D197
- D198
- D199
- D19A
- D19B
- D19C
- D19D
- D19E
- D19F
- D1A0
- D1A1
- D1A2
- D1A3
- D1A4
- D1A5
- D1A6
- D1A7
- D1A8
- D1A9
- D1AA
- D1AB
- D1AC
- D1AD
- D1AE
- D1AF
- D1B0
- D1B1
- D1B2
- D1B3
- D1B4
- D1B5
- D1B6
- D1B7
- D1B8
- D1B9
- D1BA
- D1BB
- D1BC
- D1BD
- D1BE
- D1BF
- D1C0
- D1C1
- D1C2
- D1C3
- D1C4
- D1C5
- D1C6
- D1C7
- D1C8
- D1C9
- D1CA
- D1CB
- D1CC
- D1CD
- D1CE
- D1CF
- D1D0
- D1D1
- D1D2
- D1D3
- D1D4
- D1D5
- D1D6
- D1D7
- D1D8
- D1D9
- D1DA
- D1DB
- D1DC
- D1DD
- D1DE
- D1DF
- D1E0
- D1E1
- D1E2
- D1E3
- D1E4
- D1E5
- D1E6
- D1E7
- D1E8
- D1E9
- D1EA
- D1EB
- D1EC
- D1ED
- D1EE
- D1EF
- D1F0
- D1F1
- D1F2
- D1F3
- D1F4
- D1F5
- D1F6
- D1F7
- D1F8
- D1F9
- D1FA
- D1FB
- D1FC
- D1FD
- D1FE
- D1FF
- D200
- D201
- D202
- D203
- D204
- D205
- D206
- D207
- D208
- D209
- D20A
- D20B
- D20C
- D20D
- D20E
- D20F
- D210
- D211
- D212
- D213
- D214
- D215
- D216
- D217
- D218
- D219
- D21A
- D21B
- D21C
- D21D
- D21E
- D21F
- D220
- D221
- D222
- D223
Pokémon 1-256's main structure data (45 bytes long, each):
- D12B
- D157
- D183
- D1AF
- D1DB
- D207
- D233
- D25F
- D28B
- D2B7
- D2E3
- D30F
- D33B
- D367
- D393
- D3BF
- D3EB
- D417
- D443
- D46F
- D49B
- D4C7
- D4F3
- D51F
- D54B
- D577
- D5A3
- D5CF
- D5FB
- D627
- D653
- D67F
- D6AB
- D6D7
- D703
- D72F
- D75B
- D787
- D7B3
- D7DF
- D80B
- D837
- D863
- D88F
- D8BB
- D8E7
- D913
- D93F
- D96B
- D997
- D9C3
- D9EF
- DA1B
- DA47
- DA73
- DA9F
- DACB
- DAF7
- DB23
- DB4F
- DB7B
- DBA7
- DBD3
- DBFF
- DC2B
- DC57
- DC83
- DCAF
- DCDB
- DD07
- DD33
- DD5F
- DD8B
- DDB7
- DDE3
- DE0F
- DE3B
- DE67
- DE93
- DEBF
- DEEB
- DF17
- DF43
- DF6F
- DF9B
- DFC7
- DFF3
- E01F
- E04B
- E077
- E0A3
- E0CF
- E0FB
- E127
- E153
- E17F
- E1AB
- E1D7
- E203
- E22F
- E25B
- E287
- E2B3
- E2DF
- E30B
- E337
- E363
- E38F
- E3BB
- E3E7
- E413
- E43F
- E46B
- E497
- E4C3
- E4EF
- E51B
- E547
- E573
- E59F
- E5CB
- E5F7
- E623
- E64F
- E67B
- E6A7
- E6D3
- E6FF
- E72B
- E757
- E783
- E7AF
- E7DB
- E807
- E833
- E85F
- E88B
- E8B7
- E8E3
- E90F
- E93B
- E967
- E993
- E9BF
- E9EB
- EA17
- EA43
- EA6F
- EA9B
- EAC7
- EAF3
- EB1F
- EB4B
- EB77
- EBA3
- EBCF
- EBFB
- EC27
- EC53
- EC7F
- ECAB
- ECD7
- ED03
- ED2F
- ED5B
- ED87
- EDB3
- EDDF
- EE0B
- EE37
- EE63
- EE8F
- EEBB
- EEE7
- EF13
- EF3F
- EF6B
- EF97
- EFC3
- EFEF
- F01B
- F047
- F073
- F09F
- F0CB
- F0F7
- F123
- F14F
- F17B
- F1A7
- F1D3
- F1FF
- F22B
- F257
- F283
- F2AF
- F2DB
- F307
- F333
- F35F
- F38B
- F3B7
- F3E3
- F40F
- F43B
- F467
- F493
- F4BF
- F4EB
- F517
- F543
- F56F
- F59B
- F5C7
- F5F3
- F61F
- F64B
- F677
- F6A3
- F6CF
- F6FB
- F727
- F753
- F77F
- F7AB
- F7D7
- F803
- F82F
- F85B
- F887
- F8B3
- F8DF
- F90B
- F937
- F963
- F98F
- F9BB
- F9E7
- FA13
- FA3F
- FA6B
- FA97
- FAC3
- FAEF
- FB1B
- FB47
- FB73
- FB9F
- FBCB
- FBF7
- FC23
- FC4F
- FC7B
- FCA7
- FCD3
- FCFF
Pokémon 1-256's Trainer names (size 6 each):
- D233
- D239
- D23F
- D245
- D24B
- D251
- D257
- D25D
- D263
- D269
- D26F
- D275
- D27B
- D281
- D287
- D28D
- D293
- D299
- D29F
- D2A5
- D2AB
- D2B1
- D2B7
- D2BD
- D2C3
- D2C9
- D2CF
- D2D5
- D2DB
- D2E1
- D2E7
- D2ED
- D2F3
- D2F9
- D2FF
- D305
- D30B
- D311
- D317
- D31D
- D323
- D329
- D32F
- D335
- D33B
- D341
- D347
- D34D
- D353
- D359
- D35F
- D365
- D36B
- D371
- D377
- D37D
- D383
- D389
- D38F
- D395
- D39B
- D3A1
- D3A7
- D3AD
- D3B3
- D3B9
- D3BF
- D3C5
- D3CB
- D3D1
- D3#D7
- D3DD
- D3E3
- D3E9
- D3EF
- D3F5
- D3FB
- D401
- D407
- D40D
- D413
- D419
- D41F
- D425
- D42B
- D431
- D437
- D43D
- D443
- D449
- D44F
- D455
- D45B
- D461
- D467
- D46D
- D473
- D479
- D47F
- D485
- D48B
- D491
- D497
- D49D
- D4A3
- D4A9
- D4AF
- D4B5
- D4BB
- D4C1
- D4C7
- D4CD
- D4D3
- D4D9
- D4DF
- D4E5
- D4EB
- D4F1
- D4F7
- D4FD
- D503
- D509
- D50F
- D515
- D51B
- D521
- D527
- D52D
- D533
- D539
- D53F
- D545
- D54B
- D551
- D557
- D55D
- D563
- D569
- D56F
- D575
- D57B
- D581
- D587
- D58D
- D593
- D599
- D59F
- D5A5
- D5AB
- D5B1
- D5B7
- D5BD
- D5C3
- D5C9
- D5CF
- D5D5
- D5DB
- D5E1
- D5E7
- D5ED
- D5F3
- D5F9
- D5FF
- D605
- D60B
- D611
- D617
- D61D
- D623
- D629
- D62F
- D635
- D63B
- D641
- D647
- D64D
- D653
- D659
- D65F
- D665
- D66B
- D671
- D677
- D67D
- D683
- D689
- D68F
- D695
- D69B
- D6A1
- D6A7
- D6AD
- D6B3
- D6B9
- D6BF
- D6C5
- D6CB
- D6D1
- D6D7
- D6DD
- D6E3
- D6E9
- D6EF
- D6F5
- D6FB
- D701
- D707
- D70D
- D713
- D719
- D71F
- D725
- D72B
- D731
- D737
- D73D
- D743
- D749
- D74F
- D755
- D75B
- D761
- D767
- D76D
- D773
- D779
- D77F
- D785
- D78B
- D791
- D797
- D79D
- D7A3
- D7A9
- D7AF
- D7B5
- D7BB
- D7C1
- D7C7
- D7CD
- D7D3
- D7D9
- D7DF
- D7E5
- D7EB
- D7F1
- D7F7
- D7FD
- D803
- D809
- D80F
- D815
- D81B
- D821
- D827
- D82D
Pokémon 1-256's nicknames (size 6 each):
- D257
- D25D
- D263
- D269
- D26F
- D275
- D27B
- D281
- D287
- D28D
- D293
- D299
- D29F
- D2A5
- D2AB
- D2B1
- D2B7
- D2BD
- D2C3
- D2C9
- D2CF
- D2D5
- D2DB
- D2E1
- D2E7
- D2ED
- D2F3
- D2F9
- D2FF
- D305
- D30B
- D311
- D317
- D31D
- D323
- D329
- D32F
- D335
- D33B
- D341
- D347
- D34D
- D353
- D359
- D35F
- D365
- D36B
- D371
- D377
- D37D
- D383
- D389
- D38F
- D395
- D39B
- D3A1
- D3A7
- D3AD
- D3B3
- D3B9
- D3BF
- D3C5
- D3CB
- D3D1
- D3D7
- D3DD
- D3E3
- D3E9
- D3EF
- D3F5
- D3FB
- D401
- D407
- D40D
- D413
- D419
- D41F
- D425
- D42B
- D431
- D437
- D43D
- D443
- D449
- D44F
- D455
- D45B
- D461
- D467
- D46D
- D473
- D479
- D47F
- D485
- D48B
- D491
- D497
- D49D
- D4A3
- D4A9
- D4AF
- D4B5
- D4BB
- D4C1
- D4C7
- D4CD
- D4D3
- D4D9
- D4DF
- D4E5
- D4EB
- D4F1
- D4F7
- D4FD
- D503
- D509
- D50F
- D515
- D51B
- D521
- D527
- D52D
- D533
- D539
- D53F
- D545
- D54B
- D551
- D557
- D55D
- D563
- D569
- D56F
- D575
- D57B
- D581
- D587
- D58D
- D593
- D599
- D59F
- D5A5
- D5AB
- D5B1
- D5B7
- D5BD
- D5C3
- D5C9
- D5CF
- D5D5
- D5DB
- D5E1
- D5E7
- D5ED
- D5F3
- D5F9
- D5FF
- D605
- D60B
- D611
- D617
- D61D
- D623
- D629
- D62F
- D635
- D63B
- D641
- D647
- D64D
- D653
- D659
- D65F
- D665
- D66B
- D671
- D677
- D67D
- D683
- D689
- D68F
- D695
- D69B
- D6A1
- D6A7
- D6AD
- D6B3
- D6B9
- D6BF
- D6C5
- D6CB
- D6D1
- D6D7
- D6DD
- D6E3
- D6E9
- D6EF
- D6F5
- D6FB
- D701
- D707
- D70D
- D713
- D719
- D71F
- D725
- D72B
- D731
- D737
- D73D
- D743
- D749
- D74F
- D755
- D75B
- D761
- D767
- D76D
- D773
- D779
- D77F
- D785
- D78B
- D791
- D797
- D79D
- D7A3
- D7A9
- D7AF
- D7B5
- D7BB
- D7C1
- D7C7
- D7CD
- D7D3
- D7D9
- D7DF
- D7E5
- D7EB
- D7F1
- D7F7
- D7FD
- D803
- D809
- D80F
- D815
- D81B
- D821
- D827
- D82D
- D833
- D839
- D83F
- D845
- D84B
- D851
In Select glitches
A closed menu Select glitch involving pressing Select on an item, closing the menu and pressing A on a Pokémon can actually be understood as swapping Pokémon in the expanded party. The cursor position while on the items menu represents one Pokémon to swap (e.g. if on item 2, Pokémon 2 is going to be swapped) and the player's actual selection on the party menu as another (e.g. pressing A on the first party Pokémon would swap it, as expected). In order to predict how a Select glitch will work the player can analyse the data above or use a debugger).
In dokokashira door glitch
The dokokashira door glitch allows corruptions when walking on the overworld from Pokémon (including those beyond slot 6) exceeding the value stored as the size of the party at D123.
It may be useful to analyse the expanded party for the dokokashira door glitch (such as by referring to the starting addresses of a slot beyond slot 6 above) to identify a Pokémon beyond slot 6 with the following criteria:
- The Pokémon's status address defines it as poisoned; so the memory corruption can occur every four steps. Note that in the case of this glitch, the poison screen transition/sound effect may not occur but the Pokémon is still poisoned.
- 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. Entering Pallet Town is a 'good' value; setting the address to 0x0C. Since bit 0x3 is set (in addition to bit 0x2) for 0x0C, the "poison" effect is active. If the poison is not active, the wrong warp won't change.
- The status address is located +4 from the start of any slot Pokémon's main structure data (including beyond slot 6)
Normal contents:
Poisoned - bit 0x3 (0x08) Burned - bit 0x4 (0x10) Sleeping - bits 0x1, 0x2, 0x04 (0x16) Frozen - bit 0x5 (0x20) Paralyzed - bit 0x6 (0x40)
- 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 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.
- 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.
- 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).