Pokémon Trading Card Game/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(→‎Miscellaneous: Formatting + PRN + corrections)
(Undo revision 29711 by Mantidactyle (talk))
Line 1: Line 1:
{{rammap|game=Pokémon Trading Card Game}}
{{rammap|game=Pokémon Trading Card Game}}


{{rammap|game=Pokémon Trading Card Game 2}}
==Miscellaneous==
* A101-A1E4 - Cards (including built decks)
* C001-C0E4 - Cards (excluding built decks)
* CF68 - Fake number of cards in card menu (slot 1)


Address Size    Description
* CAC5 - Time (frames)
------- ----   -----------
* CAC6 - Time (seconds)
  A101    227    Cards (including built decks) (SRAM)
* CAC7 - Time (minutes)
  C001    227    Cards (excluding built decks)
* CAC8 - Time (hours)
  CF68    31   Number of cards in selected color (deck builder)
 
  CAC5      1    Time (frames)
* <tt>C200-C23B</tt> - P1 cards' ingame locations.
  CAC6      1    Time (seconds)
* <tt>C27E-C2B9</tt> - P1 library card order.
  CAC7      1    Time (minutes)
* <tt>C2BB-C2C0</tt> - P1 pokemon card indices.
  CAC8      2   Time (hours)
* <tt>C2C8-C2CD</tt> - P1 pokemon health.
  CACA      2    Pseudo Random Number
* <tt>C300-C33B</tt> - P2 cards' ingame locations.
                Its value changes on:
* <tt>C37E-C3B9</tt> - P2 library card order.
                • coin toss (once)
* <tt>C3BB-C3C0</tt> - P2 pokemon card indices.
                • deck shuffle (once)
* <tt>C3C8-C3CD</tt> - P2 pokemon health.
                • random Attack (e. g. Lv. 68 Zapdos's Big Thunder) (once)
* <tt>C400-C409</tt> - Card IDs for booster pack contents (After a match)
                • random Pokémon Power (e. g. GR's Mewtwo's Dark Wave) (once)
* <tt>C400-C43B</tt> - P1 deck card IDs (During a match)
                • CPU cheating (rerolled until desired result)
* <tt>C480-C4BB</tt> - P2 deck card IDs (During a match)
                • character selection (every frame)
* <tt>CACA-CACB</tt> - PRNG Seed
                • new game / continue menu (every frame)
* <tt>CC00 .......</tt> - Number of Prizes (During a match)
                • start menu (every frame)
* CC0B - Energy card placed
                • building (every 60 frames)
* CC0D - Whose turn is it
 
<b>Note</b>: A card index is an offset into the array at either C400 or C480, which when resolved gives you the card ID.
 
* D11E-D12C - Mail
* D3D2 - Medals
* D0BB - Room you're in
 
===Mail===
bits 1 thru 4
:1 - Starter
:2 - Fighting Club
:3 - Rock Club
:4 - Water Club
:5 - Lightning Club
:6 - Grass Club
:7 - Psychic Club
:8 - Science Club
:9 - Fire Club
:A - Helpful Tip 1
:B - Helpful Tip 2
:C - Grand Master Courtney
:D - Grand Master Steve
:E - Grand Master Jack
:F - Grand Master Rod
 
bit 8 read status
 
===Location Values===
00 - Library<br>
01 - Hand<br>
02 - Discard<br>
04 - Removed from Game<br>
08 - Prize<br>
10 - Active<br>
11 - Benched #1<br>
12 - Benched #2<br>
13 - Benched #3<br>
14 - Benched #4<br>
15 - Benched #5<br>
 
===Card IDs===
00 - Nothing<br>
01 - Grass Energy<br>
02 - Fire Energy<br>
03 - Water Energy<br>
04 - Lightning Energy<br>
05 - Fighting Energy<br>
06 - Psychic Energy<br>
07 - Double Colorless Energy<br>
08 - Bulbasaur LV13<br>
09 - Ivysaur LV20<br>
0A - Venusaur LV64(CP! Promo)<br>
0B - Venusaur LV67<br>
0C - Caterpie LV13<br>
0D - Metapod LV21<br>
0E - Butterfree LV28<br>
0F - Weedle LV12<br>
10 - Kakuna LV23<br>
11 - Beedrill LV32<br>
12 - Ekans LV10<br>
13 - Arbok LV27<br>
14 - Nidoran Female LV13<br>
15 - Nidorina LV24<br>
16 - Nidoqueen LV43<br>
17 - Nidoran Male LV20<br>
18 - Nidorino LV25<br>
19 - Nidoking LV48<br>
1A - Zubat LV10<br>
1B - Golbat LV29<br>
1C - Oddish LV8<br>
1D - Gloom LV22<br>
1E - Vileplume LV35<br>
1F - Paras LV8<br>
20 - Parasect LV28<br>
21 - Venonat LV12<br>
22 - Venomoth LV28<br>
23 - Bellsprout LV11<br>
24 - Weepinbell LV28<br>
25 - Victreebell LV42<br>
26 - Grimer LV17<br>
27 - Muk LV34<br>
28 - Exeggcute LV14<br>
29 - Exeggutor LV35<br>
2A - Koffing LV13<br>
2B - Weezing LV27<br>
2C - Tangela LV8 (GB)<br>
2D - Tangela LV12<br>
2E - Scyther LV25<br>
2F - Pinsir LV24<br>
30 - Charmander LV10<br>
31 - CharmelEon LV32<br>
32 - Charizard LV76<br>
33 - Vulpix LV11<br>
34 - Ninetails LV32<br>
35 - Ninetails LV35 (GB)<br>
36 - Growlithe LV18<br>
37 - Arcanine LV34 (Promo)<br>
38 - Arcanine LV45<br>
39 - Ponyta LV10<br>
3A - Rapidash LV33<br>
3B - Magmar LV24<br>
3C - Magmar LV31 (Fossil)<br>
3D - Flareon LV22 (GB)<br>
3E - Flareon LV28 (Jungle)<br>
3F - Moltres LV35<br>
40 - Legendary Moltres LV37<br>
41 - Squirtle LV8<br>
42 - Wartortle LV22<br>
43 - Blastoise LV52<br>
44 - Psyduck LV15<br>
45 - Golduck LV27<br>
46 - Poliwag LV13<br>
47 - Poliwhirl LV28<br>
48 - Poliwrath LV48<br>
49 - Tentacool LV10<br>
4A - Tentacruel LV21<br>
4B - Seel LV12<br>
4C - Dewgong LV42<br>
4D - Shellder LV8<br>
4E - Cloyster LV25<br>
4F - Krabby LV20<br>
50 - Kingler LV27<br>
51 - Horsea LV19<br>
52 - Seadra LV23<br>
53 - Goldeen LV12<br>
54 - Seaking LV28<br>
55 - Staryu LV15<br>
56 - Starmie LV28<br>
57 - Magikarp LV8<br>
58 - Gyarados LV41<br>
59 - Lapras LV31<br>
5A - Vaporeon LV29 (GB)<br>
5B - Vaporeon LV42 (Jungle)<br>
5C - Omanyte LV19<br>
5D - Omastar LV32<br>
5E - Articuno LV35<br>
5F - Legendary Articuno LV37<br>
60 - Pikachu LV12<br>
61 - Pikachu LV14 (Jungle)<br>
62 - Pikachu LV16 (promo)<br>
63 - Pikachu LV16 (promo2)<br>
64 - Flying Pikachu LV12<br>
65 - Surfing Pikachu LV13<br>
66 - Surfing Pikachu LV13 (2)<br>
67 - Raichu LV40<br>
68 - Raichu LV45 (Fossil)<br>
69 - Magnemite LV13<br>
6A - Magnemite LV15 (GB)<br>
6B - Magneton LV28<br>
6C - Magneton LV35 (Fossil)<br>
6D - Voltorb LV10<br>
6E - Electrode LV35 (GB)<br>
6F - Electrode LV42 (Jungle)<br>
70 - Electabuzz LV20 (Promo)<br>
71 - Electabuzz LV35<br>
72 - Jolteon LV24 (GB)<br>
73 - Jolteon LV29<br>
74 - Zapdos LV40<br>
75 - Zapdos LV64 (Fossil)<br>
76 - Legendary Zapdos LV68<br>
77 - Sandshrew LV12<br>
78 - Sandslash LV33<br>
79 - Diglett LV8<br>
7A - Dugtrio LV36<br>
7B - Mankey LV7<br>
7C - Primeape LV35<br>
7D - Machop LV20<br>
7E - Machoke LV40<br>
7F - Machamp LV67<br>
80 - Geodude LV16<br>
81 - Graveler LV29<br>
82 - Golem LV36<br>
83 - Onix LV12<br>
84 - Cubone LV13<br>
85 - Marowak LV26 (Jungle)<br>
86 - Marowak LV32 (GB)<br>
87 - Hitmonlee LV30<br>
88 - Hitmonchan LV33<br>
89 - Rhyhorn LV18<br>
8A - Rhydon LV48<br>
8B - Kabuto LV9<br>
8C - Kabutops LV30<br>
8D - Aerodactlyl LV28<br>
8E - Abra LV10<br>
8F - Kadabra LV38<br>
90 - Alakazam LV42<br>
91 - Slowpoke LV9 (Promo)<br>
92 - Slowpoke LV18 (Fossil)<br>
93 - Slowbro LV26<br>
94 - Gastly LV8<br>
95 - Gastly LV17 (Fossil)<br>
96 - Haunter LV17 (Fossil)<br>
97 - Haunter LV22<br>
98 - Gengar LV38<br>
99 - Drowzee LV12<br>
9A - Hypno LV36<br>
9B - Mr. Mime LV28<br>
9C - Jynx LV23<br>
9D - Mewtwo LV53<br>
9E - Mewtwo LV60 (Promo)<br>
9F - Mewtwo LV60 (Promo 2)<br>
A0 - Mew LV8 (Promo)<br>
A1 - Mew LV15 (CP! Promo)<br>
A2 - Mew LV23<br>
A3 - Pidgey LV8<br>
A4 - Pidgeotto LV36<br>
A5 - Pidgeot LV38 (GB)<br>
A6 - Pidgeot LV40 (Jungle)<br>
A7 - Rattata LV9<br>
A8 - Raticate LV41<br>
A9 - Spearow LV13<br>
AA - Fearow LV27<br>
AB - Clefairy LV14<br>
AC - Clefable LV34<br>
AD - Jigglypuff LV12 (Promo)<br>
AE - Jigglypuff LV13 (GB)<br>
AF - Jigglypuff LV14 (Jungle)<br>
B0 - Wigglytuff LV36<br>
B1 - Meowth LV14 (GB)<br>
B2 - Meowth LV15 (Jungle)<br>
B3 - Persian LV25<br>
B4 - Farfetch'd LV20<br>
B5 - Doduo LV10<br>
B6 - Dodrio LV28<br>
B7 - Lickitung LV26<br>
B8 - Chansey LV55<br>
B9 - Kangaskhan LV40<br>
BA - Tauros LV32<br>
BB - Ditto LV19<br>
BC - Eevee LV12<br>
BD - Porygon LV12<br>
BE - Snorlax LV20<br>
BF - Dratini LV10<br>
C0 - Dragonair LV33<br>
C1 - Legendary Dragonite LV41<br>
C2 - Dragonite LV45<br>
C3 - Professor Oak<br>
C4 - Imposter Professor Oak<br>
C5 - Bill<br>
C6 - Mr. Fuji<br>
C7 - Lass<br>
C8 - Imakuni?<br>
C9 - Pokemon Trader<br>
CA - Pokemon Breeder<br>
CB - Clefairy Doll<br>
CC - Mysterious Fossil<br>
CD - Energy Retrieval<br>
CE - Super Energy Retrieval<br>
CF - Energy Search<br>
D0 - Energy Removal<br>
D1 - Super Energy Removal<br>
D2 - Switch<br>
D3 - Pokemon Center<br>
D4 - Pokeball<br>
D5 - Scoop Up<br>
D6 - Computer Search<br>
D7 - Pokedex<br>
D8 - Pluspower<br>
D9 - Defender<br>
DA - Item Finder<br>
DB - Gust of Wind<br>
DC - Devolution Spray<br>
DD - Potion<br>
DE - Super Potion<br>
DF - Full Heal<br>
E0 - Revive<br>
E1 - Maintenance<br>
E2 - Pokemon Flute<br>
E3 - Gambler<br>
E4 - Recycle<br>
 
===Rooms===
00 - Map Screen<br>
01 - Mason's Lab (Main Room)<br>
02 - Mason's Lab (Deck Machines)<br>
03 - Ishihara's House<br>
04 - Fighting Club (Lobby)<br>
05 - Fighting Club (Reception Desk)<br>
06 - Fighting Club (Main Room)<br>
07 - Rock Club (Lobby)<br>
08 - Rock Club (Reception Desk)<br>
09 - Rock Club (Main Room)<br>
0A - Water Club (Lobby)<br>
0B - Water Club (Reception Desk)<br>
0C - Water Club (Main Room)<br>
0D - Lightning Club (Lobby)<br>
0E - Lightning Club (Reception Desk)<br>
0F - Lightning Club (Main Room)<br>
10 - Grass Club (Lobby)<br>
11 - Grass Club (Reception Desk)<br>
12 - Grass Club (Main Room)<br>
13 - Psychic Club (Lobby)<br>
14 - Psychic Club (Reception Desk)<br>
15 - Psychic Club (Main Room)<br>
16 - Science Club (Lobby)<br>
17 - Science Club (Reception Desk)<br>
18 - Science Club (Main Room)<br>
19 - Fire Club (Lobby)<br>
1A - Fire Club (Reception Desk)<br>
1B - Fire Club (Main Room)<br>
1C - Challenge Hall (Lobby)<br>
1D - Challenge Hall (Reception Desk)<br>
1E - Challenge Hall (Main Room)<br>
1F - Pokemon Dome (Library)<br>
20 - Pokemon Dome (Grand Master Challenge)<br>
21 - Pokemon Dome (Legendary Pokémon Cards)<br>

Revision as of 12:15, 21 October 2014

Chip tiny.png The following article is a RAM map for Pokémon Trading Card Game.

Miscellaneous

  • A101-A1E4 - Cards (including built decks)
  • C001-C0E4 - Cards (excluding built decks)
  • CF68 - Fake number of cards in card menu (slot 1)
  • CAC5 - Time (frames)
  • CAC6 - Time (seconds)
  • CAC7 - Time (minutes)
  • CAC8 - Time (hours)
  • C200-C23B - P1 cards' ingame locations.
  • C27E-C2B9 - P1 library card order.
  • C2BB-C2C0 - P1 pokemon card indices.
  • C2C8-C2CD - P1 pokemon health.
  • C300-C33B - P2 cards' ingame locations.
  • C37E-C3B9 - P2 library card order.
  • C3BB-C3C0 - P2 pokemon card indices.
  • C3C8-C3CD - P2 pokemon health.
  • C400-C409 - Card IDs for booster pack contents (After a match)
  • C400-C43B - P1 deck card IDs (During a match)
  • C480-C4BB - P2 deck card IDs (During a match)
  • CACA-CACB - PRNG Seed
  • CC00 ....... - Number of Prizes (During a match)
  • CC0B - Energy card placed
  • CC0D - Whose turn is it

Note: A card index is an offset into the array at either C400 or C480, which when resolved gives you the card ID.

  • D11E-D12C - Mail
  • D3D2 - Medals
  • D0BB - Room you're in

Mail

bits 1 thru 4

1 - Starter
2 - Fighting Club
3 - Rock Club
4 - Water Club
5 - Lightning Club
6 - Grass Club
7 - Psychic Club
8 - Science Club
9 - Fire Club
A - Helpful Tip 1
B - Helpful Tip 2
C - Grand Master Courtney
D - Grand Master Steve
E - Grand Master Jack
F - Grand Master Rod

bit 8 read status

Location Values

00 - Library
01 - Hand
02 - Discard
04 - Removed from Game
08 - Prize
10 - Active
11 - Benched #1
12 - Benched #2
13 - Benched #3
14 - Benched #4
15 - Benched #5

Card IDs

00 - Nothing
01 - Grass Energy
02 - Fire Energy
03 - Water Energy
04 - Lightning Energy
05 - Fighting Energy
06 - Psychic Energy
07 - Double Colorless Energy
08 - Bulbasaur LV13
09 - Ivysaur LV20
0A - Venusaur LV64(CP! Promo)
0B - Venusaur LV67
0C - Caterpie LV13
0D - Metapod LV21
0E - Butterfree LV28
0F - Weedle LV12
10 - Kakuna LV23
11 - Beedrill LV32
12 - Ekans LV10
13 - Arbok LV27
14 - Nidoran Female LV13
15 - Nidorina LV24
16 - Nidoqueen LV43
17 - Nidoran Male LV20
18 - Nidorino LV25
19 - Nidoking LV48
1A - Zubat LV10
1B - Golbat LV29
1C - Oddish LV8
1D - Gloom LV22
1E - Vileplume LV35
1F - Paras LV8
20 - Parasect LV28
21 - Venonat LV12
22 - Venomoth LV28
23 - Bellsprout LV11
24 - Weepinbell LV28
25 - Victreebell LV42
26 - Grimer LV17
27 - Muk LV34
28 - Exeggcute LV14
29 - Exeggutor LV35
2A - Koffing LV13
2B - Weezing LV27
2C - Tangela LV8 (GB)
2D - Tangela LV12
2E - Scyther LV25
2F - Pinsir LV24
30 - Charmander LV10
31 - CharmelEon LV32
32 - Charizard LV76
33 - Vulpix LV11
34 - Ninetails LV32
35 - Ninetails LV35 (GB)
36 - Growlithe LV18
37 - Arcanine LV34 (Promo)
38 - Arcanine LV45
39 - Ponyta LV10
3A - Rapidash LV33
3B - Magmar LV24
3C - Magmar LV31 (Fossil)
3D - Flareon LV22 (GB)
3E - Flareon LV28 (Jungle)
3F - Moltres LV35
40 - Legendary Moltres LV37
41 - Squirtle LV8
42 - Wartortle LV22
43 - Blastoise LV52
44 - Psyduck LV15
45 - Golduck LV27
46 - Poliwag LV13
47 - Poliwhirl LV28
48 - Poliwrath LV48
49 - Tentacool LV10
4A - Tentacruel LV21
4B - Seel LV12
4C - Dewgong LV42
4D - Shellder LV8
4E - Cloyster LV25
4F - Krabby LV20
50 - Kingler LV27
51 - Horsea LV19
52 - Seadra LV23
53 - Goldeen LV12
54 - Seaking LV28
55 - Staryu LV15
56 - Starmie LV28
57 - Magikarp LV8
58 - Gyarados LV41
59 - Lapras LV31
5A - Vaporeon LV29 (GB)
5B - Vaporeon LV42 (Jungle)
5C - Omanyte LV19
5D - Omastar LV32
5E - Articuno LV35
5F - Legendary Articuno LV37
60 - Pikachu LV12
61 - Pikachu LV14 (Jungle)
62 - Pikachu LV16 (promo)
63 - Pikachu LV16 (promo2)
64 - Flying Pikachu LV12
65 - Surfing Pikachu LV13
66 - Surfing Pikachu LV13 (2)
67 - Raichu LV40
68 - Raichu LV45 (Fossil)
69 - Magnemite LV13
6A - Magnemite LV15 (GB)
6B - Magneton LV28
6C - Magneton LV35 (Fossil)
6D - Voltorb LV10
6E - Electrode LV35 (GB)
6F - Electrode LV42 (Jungle)
70 - Electabuzz LV20 (Promo)
71 - Electabuzz LV35
72 - Jolteon LV24 (GB)
73 - Jolteon LV29
74 - Zapdos LV40
75 - Zapdos LV64 (Fossil)
76 - Legendary Zapdos LV68
77 - Sandshrew LV12
78 - Sandslash LV33
79 - Diglett LV8
7A - Dugtrio LV36
7B - Mankey LV7
7C - Primeape LV35
7D - Machop LV20
7E - Machoke LV40
7F - Machamp LV67
80 - Geodude LV16
81 - Graveler LV29
82 - Golem LV36
83 - Onix LV12
84 - Cubone LV13
85 - Marowak LV26 (Jungle)
86 - Marowak LV32 (GB)
87 - Hitmonlee LV30
88 - Hitmonchan LV33
89 - Rhyhorn LV18
8A - Rhydon LV48
8B - Kabuto LV9
8C - Kabutops LV30
8D - Aerodactlyl LV28
8E - Abra LV10
8F - Kadabra LV38
90 - Alakazam LV42
91 - Slowpoke LV9 (Promo)
92 - Slowpoke LV18 (Fossil)
93 - Slowbro LV26
94 - Gastly LV8
95 - Gastly LV17 (Fossil)
96 - Haunter LV17 (Fossil)
97 - Haunter LV22
98 - Gengar LV38
99 - Drowzee LV12
9A - Hypno LV36
9B - Mr. Mime LV28
9C - Jynx LV23
9D - Mewtwo LV53
9E - Mewtwo LV60 (Promo)
9F - Mewtwo LV60 (Promo 2)
A0 - Mew LV8 (Promo)
A1 - Mew LV15 (CP! Promo)
A2 - Mew LV23
A3 - Pidgey LV8
A4 - Pidgeotto LV36
A5 - Pidgeot LV38 (GB)
A6 - Pidgeot LV40 (Jungle)
A7 - Rattata LV9
A8 - Raticate LV41
A9 - Spearow LV13
AA - Fearow LV27
AB - Clefairy LV14
AC - Clefable LV34
AD - Jigglypuff LV12 (Promo)
AE - Jigglypuff LV13 (GB)
AF - Jigglypuff LV14 (Jungle)
B0 - Wigglytuff LV36
B1 - Meowth LV14 (GB)
B2 - Meowth LV15 (Jungle)
B3 - Persian LV25
B4 - Farfetch'd LV20
B5 - Doduo LV10
B6 - Dodrio LV28
B7 - Lickitung LV26
B8 - Chansey LV55
B9 - Kangaskhan LV40
BA - Tauros LV32
BB - Ditto LV19
BC - Eevee LV12
BD - Porygon LV12
BE - Snorlax LV20
BF - Dratini LV10
C0 - Dragonair LV33
C1 - Legendary Dragonite LV41
C2 - Dragonite LV45
C3 - Professor Oak
C4 - Imposter Professor Oak
C5 - Bill
C6 - Mr. Fuji
C7 - Lass
C8 - Imakuni?
C9 - Pokemon Trader
CA - Pokemon Breeder
CB - Clefairy Doll
CC - Mysterious Fossil
CD - Energy Retrieval
CE - Super Energy Retrieval
CF - Energy Search
D0 - Energy Removal
D1 - Super Energy Removal
D2 - Switch
D3 - Pokemon Center
D4 - Pokeball
D5 - Scoop Up
D6 - Computer Search
D7 - Pokedex
D8 - Pluspower
D9 - Defender
DA - Item Finder
DB - Gust of Wind
DC - Devolution Spray
DD - Potion
DE - Super Potion
DF - Full Heal
E0 - Revive
E1 - Maintenance
E2 - Pokemon Flute
E3 - Gambler
E4 - Recycle

Rooms

00 - Map Screen
01 - Mason's Lab (Main Room)
02 - Mason's Lab (Deck Machines)
03 - Ishihara's House
04 - Fighting Club (Lobby)
05 - Fighting Club (Reception Desk)
06 - Fighting Club (Main Room)
07 - Rock Club (Lobby)
08 - Rock Club (Reception Desk)
09 - Rock Club (Main Room)
0A - Water Club (Lobby)
0B - Water Club (Reception Desk)
0C - Water Club (Main Room)
0D - Lightning Club (Lobby)
0E - Lightning Club (Reception Desk)
0F - Lightning Club (Main Room)
10 - Grass Club (Lobby)
11 - Grass Club (Reception Desk)
12 - Grass Club (Main Room)
13 - Psychic Club (Lobby)
14 - Psychic Club (Reception Desk)
15 - Psychic Club (Main Room)
16 - Science Club (Lobby)
17 - Science Club (Reception Desk)
18 - Science Club (Main Room)
19 - Fire Club (Lobby)
1A - Fire Club (Reception Desk)
1B - Fire Club (Main Room)
1C - Challenge Hall (Lobby)
1D - Challenge Hall (Reception Desk)
1E - Challenge Hall (Main Room)
1F - Pokemon Dome (Library)
20 - Pokemon Dome (Grand Master Challenge)
21 - Pokemon Dome (Legendary Pokémon Cards)