Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction

Important

If you are in any way (considering) contributing to The Cutting Room Floor, turn back now.

TCRF has a very clear policy on AI: If AI was used at any point during your reverse engineering process, you may not contribute to their wiki. This seems to include any kind of AI usage, which means all information in this book and the associated repo is effectively poisoned. Their wiki page on HP3-GBA containing calls for contribution, missing information or straight-up errors does not change this.

This book holds some information on Harry Potter and The Prisoner of Azkaban for the GameBoy Advance. Most of it was derived through decompilation or dynamic analysis. It is my hope that this serves as an interesting “Wiki” of sorts for ROM-hacking, speedrunning or just general playthroughs.

You can find a work-in-progress decompilation in the associated repo. With some tinkering, you can create basic ROM-hacks as well, including translations, assets swaps or general code modifications.

Player Stats

This page shows the level-up table for the 3 playable characters. Note that this does not include an attack stat, which is calculated based on level and spell stats.

In general:

  • Exp., Acc., Def% and MDef% are the same between characters
  • Harry: low SP, low MP, medium speed
  • Hermione: low SP, high MP, best speed
  • Ron: high SP, low MP, worst speed
Lvl
The player’s stats at this level
SP
The player’s maximum stamina points
MP
The player’s maximum magic points
Exp.
The additional experience required to reach the next level.
Speed
The inverse of the player’s speed. Higher means later turn order.
Acc.
The player’s default accuracy, where >= 100 means it should always hit.
Def%
The likelihood to dodge a standard attack
MDef%
The likelyhood to dodge a special attack

Harry

LvlSPMPExp.SpeedAcc.Def%MDef%
1301213250101100100
2411526249999999
3521839248959898
4632152247959797
5742465246959696
6852678245959595
7962991244969494
810731104243969393
911833117242969292
1013036130241969191
1114138143240969090
1215240156239968989
1316343169238978888
1417345182237978787
1518247195236978686
1619249208235978585
1720151221234978484
1821153234233978383
1922155247232988282
2023057260231988181
2123759273230988080
2224462286229988080
2325164299228987979
2425866312227987979
2526570325226997878
2627274338225997878
2727978351224997777
2828682364223997777
2929386377222997676
3030090390221997676
3130895403220997575
32316100416219997575
33324105429218997474
34332110442217997474
35340115455216997373
36348120468215997373
37356125481214997272
38364130494213997272
39372135507212997171
40380140520211997171
41387147533210997070
42394154546209997070
43401161559208996969
44408168572207996969
45415175585206996868
46422182598205996868
47429189611204996767
48436196624203996767
49443203637202996666
50450210650201996666
51456219663200996565
52462228676199996565
53468237689198996565
54474246702197996565
55480255715196996464
56486264728195996464
57492273741194996464
58498282754193996464
59504291767192996363
60510300780191996363
61516311793190996363
62522322806189996363
63528333819188996262
64534344832187996262
65540355845186996262
66546366858185996262
67552377871184996161
68558388884183996161
69564399897182996161
70570410910181996161
71576423923180996060
72582436936179996060
73588449949178996060
74594462962177996060
75600475975176995959
76606488988175995959
776125011001174995959
786185141014173995959
796245271027172995858
806305401040171995858
816365551053170995858
826425701066169995858
836485851079168995757
846546001092167995757
856606151105166995757
866656301118165995757
876726451131164995656
886786601144163995656
896846751157162995656
906906901170161995656
916967051183160995555
927027201196159995555
937087351209158995555
947147501222157995555
957207651235156995454
967267801248155995454
977327951261154995454
987388101274153995454
997448251287152995353
1007508401300151995353

Hermione

Note

Hermione gets a 1/16 attack buff, which is not shown in this table.

LvlSPMPExp.SpeedAcc.Def%MDef%
1301213240101100100
2411526239999999
3521839238959898
4632152237959797
5742465236959696
6852678235959595
7962991234969494
810733104233969393
911837117232969292
1013041130231969191
1114144143230969090
1215248156229968989
1316351169228978888
1417354182227978787
1518259195226978686
1619262208225978585
1720167221224978484
1821171234223978383
1922175247222988282
2023079260221988181
2123782273220988080
2224485286219988080
2325189299218987979
2425892312217987979
2526596325216997878
26272100338215997878
27279104351214997777
28286108364213997777
29293111377212997676
30300114390211997676
31308118403210997575
32316123416209997575
33324128429208997474
34332133442207997474
35340138455206997373
36348145468205997373
37356152481204997272
38364159494203997272
39372165507202997171
40380172520201997171
41387180533200997070
42394189546199997070
43401198559198996969
44408207572197996969
45415216585196996868
46422225598195996868
47429234611194996767
48436243624193996767
49443252637192996666
50450261650191996666
51456270663190996565
52462279676189996565
53468288689188996565
54474296702187996565
55480305715186996464
56486314728185996464
57492323741184996464
58498331754183996464
59504340767182996363
60510349780181996363
61516358793180996363
62522367806179996363
63528376819178996262
64534385832177996262
65540394845176996262
66546403858175996262
67552412871174996161
68558421884173996161
69564430897172996161
70570439910171996161
71576448923170996060
72582457936169996060
73588466949168996060
74594475962167996060
75600484975166995959
76606493988165995959
776125021001164995959
786185671014163995959
796245781027162995858
806305891040161995858
816366031053160995858
826426181066159995858
836486351079158995757
846546521092157995757
856606701105156995757
866656861118155995757
876727031131154995656
886787191144153995656
896847321157152995656
906907501170151995656
916967671183150995555
927027801196149995555
937087971209148995555
947148101222147995555
957208261235146995454
967268421248145995454
977328601261144995454
987388751274143995454
997448901287142995353
1007509001300141995353

Ron

Note

Ron gets a 1/16 attack debuff, which is not shown in this table.

LvlSPMPExp.SpeedAcc.Def%MDef%
1331213254101100100
2451526254999999
3571839254959898
4692152254959797
5812465254959696
6932678254959595
71152991254969494
812731104253969393
912433117252969292
1013636130251969191
1114838143250969090
1216040156249968989
1317243169248978888
1418445182247978787
1519647195246978686
1620849208245978585
1722051221244978484
1823253234243978383
1924455247242988282
2025657260241988181
2126859273240988080
2228062286239988080
2329264299238987979
2430466312237987979
2531270325236997878
2632174338235997878
2733278351234997777
2834082364233997777
2935186377232997676
3036290390231997676
3137095403230997575
32382100416229997575
33391105429228997474
34402110442227997474
35410115455226997373
36419120468225997373
37426125481224997272
38433130494223997272
39442135507222997171
40450140520221997171
41459147533220997070
42465154546219997070
43473161559218996969
44481168572217996969
45490175585216996868
46499182598215996868
47506189611214996767
48513196624213996767
49522203637212996666
50530210650211996666
51541219663210996565
52550228676209996565
53569237689208996565
54578246702207996565
55587255715206996464
56596264728205996464
57605273741204996464
58614282754203996464
59623291767202996363
60632300780201996363
61641311793200996363
62650322806199996363
63669333819198996262
64678344832197996262
65685355845196996262
66692366858195996262
67700377871194996161
68708388884193996161
69716399897192996161
70723410910191996161
71731423923190996060
72740436936189996060
73749449949188996060
74758462962187996060
75767475975186995959
76773488988185995959
777815011001184995959
787905141014183995959
797995271027182995858
808065401040181995858
818135551053180995858
828215701066179995858
838305851079178995757
848376001092177995757
858436151105176995757
868516301118175995757
878596451131174995656
888676601144173995656
898746751157172995656
908816901170171995656
918897051183170995555
928967201196169995555
939027351209168995555
949107501222167995555
959187651235166995454
969257801248165995454
979327951261164995454
989408101274163995454
999508251287162995353
1009608401300161995353

Spells

Casts for unlock

How many casts are needed of a specific spell before it levels up. Note that each spell has a maximum level.

LevelThreshold
Unon/a
Duo25
Tria50

Spell data

Individual stats for each spell.

Damage dealt by the player is calculated as \(P_\text{base} + \frac{P_\text{scale}\times\text{lvl}}{9} \). This is later scaled by character modifiers, buffs, enemy resistences and critical hits.

SpellLevelMP CostBase powerPower scaleNote
FlipendoUno0104
FlipendoDuo10208
FlipendoTria201510Multi-target
VerdimilliousUno3154
VerdimilliousDuo152512
VerdimilliousTria252014Multi-target
IncendioUno6238
IncendioDuo203516
IncendioTria304518
Diffindo103018
DiffindoDuo03019Unused
DiffindoTria04020Unused
Wingardium Leviosa202020
Wingardium LeviosaDuo302121Unused
Wingardium LeviosaTria402222Unused
Petrificus TotalusUno1000
Petrificus TotalusDuo1500
Petrificus TotalusTria2000Unused
GlaciusUno151818
GlaciusDuo252020
GlaciusTria02020Unused
FumosUno800
FumosDuo3000
FumosTria000Unused
Spongify1000

Items

Equippables

Speed
Improves turn order in battle
Defense
Chance to dodge enemy attacks, in half percent (ie. 2 = 1%)
Magic Defense
Chance to dodge enemy special attacks, in percent

Belts

IdNameBuy PriceSell PriceCharacterDefenseSpeedMagic Defense
0Ordinary Belt2010All2-10
1Leather Belt3015Hermione400
2Rope120100Ron8-30
3Swedish Shortsnout Dragon-hide Belt245225All8-20
4Common Welsh Green Dragon-hide Belt445320All800
5Romanian Longhorn Dragon-hide Belt630445All1210
6Chinese Fireball Dragon-hide Belt775550All1620
7Hungarian Horntail Dragon-hide Belt850600All1630

Charms

Note

The following items cannot be bought from the shop:

  • Bracelet
  • Beads
  • Head Band
  • Remembrall
IdNameBuy PriceSell PriceCharacterDefenseSpeedMagic Defense
8Bracelet158Hermione220
9Beads6030All3-21
10Pocket Watch245175Harry7-24
11Quidditch Wrist Guards275195Ron825
12Head Band450320Hermione1026
13Eagle Feather Quill500360All10-27
14Crystal Ball635450All1228
15Dragon Liver900630All12-28
16Rabbit Fur Gloves925700All1228
17Remembrall1100770All2023
18Spellotape1150800Hermione0-230
19Golden Snitch1230830Harry25210

Gloves

IdNameBuy PriceSell PriceCharacterDefenseSpeedMagic Defense
20Mittens3015All200
21Leather Gloves10550Hermione4-10
22Quidditch Gloves140100Harry400
23Potions Gloves200140Ron600
24Swedish Shortsnout Dragon-hide Gloves250170All800
25Common Welsh Green Dragon-hide Gloves310270All1010
26Romanian Longhorn Dragon-hide Gloves390310All1220
27Chinese Fireball Dragon-hide Gloves500380All1530
28Hungarian Horntail Dragon-hide Gloves550440All1840

Boots

IdNameBuy PriceSell PriceCharacterDefenseSpeedMagic Defense
29Sneakers3015All4-20
30Leather Boots13590Hermione4-10
31Galoshes225150Ron5-10
32Quidditch Boots320210Harry8-10
33Swedish Shortsnout Dragon-hide Boots470310All12-10
34Common Welsh Green Dragon-hide Boots775500All1502
35Romanian Longhorn Dragon-hide Boots1000630All1503
36Chinese Fireball Dragon-hide Boots1225830All1505
37Hungarian Horntail Dragon-hide Boots1350860All2055

Cap

IdNameBuy PriceSell PriceCharacterDefenseSpeedMagic Defense
38Cap2512All311
39Black Pointed Hat11060Hermione511
40Rear Admiral’s Hat160110Ron601
41Quidditch Helmet225150Harry8-12
42Swedish Shortsnout Dragon-hide Cap315220All9-13
43Common Welsh Green Dragon-hide Cap450310All10-23
44Romanian Longhorn Dragon-hide Cap600420All12-24
45Chinese Fireball Dragon-hide Cap780540All15-35
46Hungarian Horntail Dragon-hide Cap1100770All1535

Robes

IdNameBuy PriceSell PriceCharacterDefenseSpeedMagic Defense
47School Robe8040All700
48Quidditch Robe190130Harry1004
49Winter Cloak255180Hermione15-38
50Potions Robe320220Ron20-310
51Swedish Shortsnout Dragon-hide Cloak450310All25-310
52Common Welsh Green Dragon-hide Cloak780540All35012
53Romanian Longhorn Dragon-hide Cloak1000700All40315
54Chinese Fireball Dragon-hide Cloak1230830All45318
55Hungarian Horntail Dragon-hide Cloak13501000All50320

Potions

IdNameBuy PriceSell PriceTypeValue
56Wiggenweld Potion3020120
57Grand Wiggenweld Potion6030150
58Pepperup Potion4020220
59Grand Pepperup Potion8040250
60Antidote to Common Poisons302030
61Anti-Paralysis Potion201040

Miscellaneous Items

Note

Chocolate Frogs can be bought from the shop and will randomly give the first or second card of a 3-piece set.

IdNameBuy PriceSell Price
62Rat Tonic00
63Shrivelfig00
64Daisy Roots00
65Rat Spleen00
66Leech Juice00
67Firebolt00
68Scabbers00
69Hedwig00
70Chocolate Frogs50
71Crookshanks00
72Time-Turner00
73Trevor00
74A Book Page00
75Valve Handle00
76Chocolate00
77Dead Caterpillar00
78‘The Monster Book of Monsters’00

Monsters

Note

The monsters with IDs 53 and 68 are not a real monsters encounterable in the game.

Stats

Speed
The inverse of the monster’s speed. Higher means later turn order.
Acc
The chance the monster hits, before any buffs or debuffs.
Crit%
The chanc the monster lands a critical hit
Damage
The damage range the monster can hit
IdNameHPLevelSpeedAccCrit%DamageSpecial attack
0Ruby Fire Crab36102458535 - 9
1Emerald Fire Crab501220075320 - 30
2Sapphire Fire Crab12015178651042 - 58
3Cornish Pixie2872458534 - 8
4Rat1812527552 - 6
5Albino Rat2522527553 - 7
6Plague Rat3532527554 - 8
7Clabbert801325485325 - 32
8Suit of Armor (Footman)40142548538 - 12
9Suit of Armor (Cavalier)801625485332 - 4010% (paralysis, 25% to escape)
10Suit of Armor (Paladin)3582458536 - 10
11Suit of Armor (Squire)651624585325 - 33
12Suit of Armor (Swordsman)1803725485335 - 4510% (paralysis, 25% to escape)
13Suit of Armor (Crusader)752024585316 - 2510% (paralysis, 25% to escape)
14Suit of Armor (Knight)1603824585348 - 5510% (paralysis, 25% to escape)
15Funnelweb Spider1632528052 - 6
16Brown Recluse Spider2352528056 - 11
17Large Spider4582458539 - 1625% (poison, 8 dmg)
18Redback Spider671024585320 - 2925% (poison, 8 dmg)
19Giant Spider401125280512 - 1725% (poison, 8 dmg)
20Cocoon Spider1002525280540 - 5225% (poison, 8 dmg)
21Whitetail Spider1303025280548 - 6525% (poison, 8 dmg)
22Flobberworm45102007538 - 12
23Snail801525485325 - 33
24Large Orange Snail1001825085330 - 38
25Flailtail Snail1602525085346 - 59
26Bat1622528052 - 6
27Fruitbat2242358053 - 8
28Mortis Bat401323580512 - 16
29Dragonfly44102508535 - 8
30Imperial Dragonfly872025085315 - 30
31Horklump751525085328 - 36
32Snake551024585312 - 18
33Spitting Snake1402424585338 - 4725% (poison, 8 dmg)
34Wasp37132358538 - 13
35Tarantula Hawk Wasp781623585320 - 28
36Bowtruckle451424585320 - 28
37Oaken Bowtruckle1502824585348 - 69
38Doxy401624585310 - 16
39Doxy Queen2003524585350 - 63
40Hinkypunk1302424585348 - 6325% (paralysis, 25% to escape)
41Gytrash551124585310 - 15
42Grindylow802424585324 - 28
43Red Cap2022458532 - 6
44Armored Red Cap1602424585360 - 72
45Salamander45122458538 - 14
46Amazonian Salamander1001824585336 - 48
47Peruvian Salamander1602424585355 - 70
48Charmed Skeleton802323085332 - 4725% (paralysis, 20% to escape)
49Jinxed Skeleton1252222085340 - 5225% (paralysis, 20% to escape)
50Tree Frog552424585311 - 18
51Wide-mouth Toad752424085324 - 2825% (poison, 8 dmg)
52Bullfrog1453023085350 - 6725% (poison, 8 dmg)
IdNameHPLevelSpeedAccCrit%DamageSpecial attack
54Whomping Willow6505024585372 - 93
55Forest Troll8005524585387 - 110
56River Troll3752024585352 - 70
57Venemous Tentacula2901424590540 - 56
58‘The Monster Book of Monsters’2522528554 - 9
59Giant Rat45525285512 - 22
60Crabbe901224585310 - 18
61Draco9756024585593 - 125
62Goyle901024585315 - 25
63Lupin Werewolf6005520991070 - 8330% (paralysis, 25% to escape)
64Snake3062458534 - 8
65Brown Recluse Spider2052528056 - 11
66‘The Monster Book of Monsters’1801225285525 - 32
67‘The Monster Book of Monsters’5752525285567 - 80
IdNameHPLevelSpeedAccCrit%DamageSpecial attack
53Flesh-eating Slug (not in game, needs to be in file for coders - no need to translate)50252548538 - 12
68Native of Fiji. Has a heavily jeweled shell.2522528554 - 9

Spell effectiveness

IdNameFlipendoIncendioVerdimilliousWingardium LeviosaGlaciusDiffindo
0Ruby Fire Crab951090901000
1Emerald Fire Crab851080801000
2Sapphire Fire Crab851075751000
3Cornish Pixie9595900850
4Rat907510095700
5Albino Rat907510095700
6Plague Rat907510095700
7Clabbert701006095700
8Suit of Armor (Footman)601008040900
9Suit of Armor (Cavalier)601008040900
10Suit of Armor (Paladin)601008040900
11Suit of Armor (Squire)601008040900
12Suit of Armor (Swordsman)601008040900
13Suit of Armor (Crusader)601008040900
14Suit of Armor (Knight)100958040900
15Funnelweb Spider100806095800
16Brown Recluse Spider100806095800
17Large Spider100806095800
18Redback Spider100806095800
19Giant Spider70908095800
20Cocoon Spider70908095800
21Whitetail Spider70908095800
22Flobberworm80609070700
23Snail608010095900
24Large Orange Snail608010095900
25Flailtail Snail608010095900
26Bat100755005030
27Fruitbat100755005030
28Mortis Bat100755005030
29Dragonfly100856009550
30Imperial Dragonfly100856009550
31Horklump100608095950
32Snake709580951000
33Spitting Snake759575951000
34Wasp100856009050
35Tarantula Hawk Wasp100856009050
36Bowtruckle409595957095
37Oaken Bowtruckle659595957095
38Doxy100806007550
39Doxy Queen10080609510050
40Hinkypunk709595951000
41Gytrash806095501000
42Grindylow806095951000
43Red Cap80959595700
44Armored Red Cap80959595700
45Salamander802060901000
46Amazonian Salamander802060901000
47Peruvian Salamander802060901000
48Charmed Skeleton70959095700
49Jinxed Skeleton70959095700
50Tree Frog706095951000
51Wide-mouth Toad706095951000
52Bullfrog706095951000
IdNameFlipendoIncendioVerdimilliousWingardium LeviosaGlaciusDiffindo
54Whomping Willow5010090050100
55Forest Troll60100700800
56River Troll60100700900
57Venemous Tentacula509580070100
58‘The Monster Book of Monsters’80100705060100
59Giant Rat80701000300
60Crabbe6070100951000
61Draco80957095900
62Goyle1007060951000
63Lupin Werewolf000000
64Snake709595951000
65Brown Recluse Spider100809095800
66‘The Monster Book of Monsters’80100705060100
67‘The Monster Book of Monsters’80100705060100
IdNameFlipendoIncendioVerdimilliousWingardium LeviosaGlaciusDiffindo
53Flesh-eating Slug (not in game, needs to be in file for coders - no need to translate)1009595951000
68Native of Fiji. Has a heavily jeweled shell.80100705060100

Drops

Note

Ron’s item-boosting special attack forces the first item to be dropped (ie. it drop rate is set to 100%) and boosts gold by 25%.

IdNameXPGoldItem 1Item 2
0Ruby Fire Crab8430% Grand Wiggenweld Potion10% Pepperup Potion
1Emerald Fire Crab273030% Grand PepperUp Potion10% Grand PepperUp Potion
2Sapphire Fire Crab605030% Grand PepperUp Potion10% Grand PepperUp Potion
3Cornish Pixie6420% Beads20% Wiggenweld Potion
4Rat5220% Sneakers20% Wiggenweld Potion
5Albino Rat6520% Cap20% Pepperup Potion
6Plague Rat8530% Wiggenweld Potion10% Pepperup Potion
7Clabbert232230% Grand PepperUp Potion10% Wiggenweld Potion
8Suit of Armor (Footman)131430% Wiggenweld Potion10% Wiggenweld Potion
9Suit of Armor (Cavalier)203030% Wiggenweld Potion10% Pepperup Potion
10Suit of Armor (Paladin)9430% Anti-Paralysis Potion10% Grand PepperUp Potion
11Suit of Armor (Squire)202020% Quidditch Helmet20% Pepperup Potion
12Suit of Armor (Swordsman)505030% Wiggenweld Potion10% Anti-Paralysis Potion
13Suit of Armor (Crusader)303030% Grand PepperUp Potion10% Anti-Paralysis Potion
14Suit of Armor (Knight)604030% Anti-Paralysis Potion10% Grand PepperUp Potion
15Funnelweb Spider41325% Bracelet25% Wiggenweld Potion
16Brown Recluse Spider84230% Wiggenweld Potion10% Pepperup Potion
17Large Spider10430% Wiggenweld Potion10% Pepperup Potion
18Redback Spider333430% Wiggenweld Potion10% Pepperup Potion
19Giant Spider6630% Wiggenweld Potion10% Pepperup Potion
20Cocoon Spider402530% Grand PepperUp Potion10% Antidote to Common Potions
21Whitetail Spider503530% Grand PepperUp Potion10% Antidote to Common Potions
22Flobberworm124030% Grand Wiggenweld Potion10% Pepperup Potion
23Snail172020% Swedish Shortsnout Dragon-hide Gloves20% Wiggenweld Potion
24Large Orange Snail221630% Wiggenweld Potion10% Pepperup Potion
25Flailtail Snail373230% Wiggenweld Potion10% Grand PepperUp Potion
26Bat4420% Mittens20% Pepperup Potion
27Fruitbat7430% Wiggenweld Potion10% Pepperup Potion
28Mortis Bat131030% Grand Wiggenweld Potion10% Grand PepperUp Potion
29Dragonfly101220% Leather Boots20% Wiggenweld Potion
30Imperial Dragonfly281230% Grand PepperUp Potion10% Wiggenweld Potion
31Horklump151830% Wiggenweld Potion10% Pepperup Potion
32Snake151530% Wiggenweld Potion10% Pepperup Potion
33Spitting Snake404030% Antidote to Common Potions10% Grand PepperUp Potion
34Wasp131330% Wiggenweld Potion10% Pepperup Potion
35Tarantula Hawk Wasp252530% Wiggenweld Potion10% Pepperup Potion
36Bowtruckle162030% Wiggenweld Potion10% Pepperup Potion
37Oaken Bowtruckle404030% Grand PepperUp Potion10% Pepperup Potion
38Doxy161220% Rope20% Grand Wiggenweld Potion
39Doxy Queen303430% Wiggenweld Potion10% Pepperup Potion
40Hinkypunk471430% Wiggenweld Potion10% Pepperup Potion
41Gytrash131030% Wiggenweld Potion10% Pepperup Potion
42Grindylow171430% Grand PepperUp Potion10% Grand PepperUp Potion
43Red Cap5430% Wiggenweld Potion10% Grand PepperUp Potion
44Armored Red Cap533420% Grand PepperUp Potion20% Grand PepperUp Potion
45Salamander151220% Head Band20% Pepperup Potion
46Amazonian Salamander251730% Grand Wiggenweld Potion10% Pepperup Potion
47Peruvian Salamander352420% Grand PepperUp Potion20% Grand PepperUp Potion
48Charmed Skeleton334020% Chinese Fireball Dragon-hide Cloak20% Grand PepperUp Potion
49Jinxed Skeleton434030% Anti-Paralysis Potion10% Grand PepperUp Potion
50Tree Frog131430% Wiggenweld Potion10% Pepperup Potion
51Wide-mouth Toad332430% Antidote to Common Potions10% Grand Wiggenweld Potion
52Bullfrog433420% Remembrall20% Antidote to Common Potions
IdNameXPGoldItem 1Item 2
54Whomping Willow20060100% Chinese Fireball Dragon-hide Cap
55Forest Troll25090100% Chinese Fireball Dragon-hide Gloves
56River Troll100100100% Dead Caterpillar
57Venemous Tentacula7040100% Potions Gloves
58‘The Monster Book of Monsters’88100% School Robe
59Giant Rat1510100% Ordinary Belt
60Crabbe304100% Quidditch Boots
61Draco600150100% Card: Harry Potter
62Goyle324100% Black Pointed Hat
63Lupin Werewolf400400100% Hungarian Horntail Dragon-hide Boots
64Snake84100% Card: Phoenix
65Brown Recluse Spider8100100% Card: Lady Carmilla Sanguina
66‘The Monster Book of Monsters’508100% ‘The Monster Book of Monsters’
67‘The Monster Book of Monsters’1408100% Swedish Shortsnout Dragon-hide Gloves
IdNameXPGoldItem 1Item 2
53Flesh-eating Slug (not in game, needs to be in file for coders - no need to translate)3450% Wiggenweld Potion50% Anti-Paralysis Potion
68Native of Fiji. Has a heavily jeweled shell.88100% ‘The Monster Book of Monsters’

Game Modes

The game uses a global “Game Mode” variable to indicate in which type of screen you are. Screens include the main menu, the startup sequence, walking around on the overworld, watching a cutscene, navigating a debug menu, etc. These game modes can take up to 3 arguments and have 5 mode-specific variables.

Each game mode has an init, update and destroy function. These live in a table at 0x08065CBC/0x08065C48 (US/JP). The update function is called on each game frame (at ~30fps). When switching between game modes, first the destroy function of the current game mode is called, then the init function of the new game mode.

The game mode data is defined like so:

typedef struct {
    u32 dwCurrentGameMode;     // 0x00
    u32 dwCurrentGameModeArg1; // 0x04
    u32 dwCurrentGameModeArg2; // 0x08
    u32 dwCurrentGameModeArg3; // 0x0C
    u32 dwModeState;           // 0x10
    u32 dwModeScratchA;        // 0x14
    u32 dwModeTimer;           // 0x18
    u32 dwModeSubState;        // 0x1C
    u32 dwModeScratchB;        // 0x20
} GameModeStackContext;

This struct lives at 3 positions (US/JP):

  • 0x03003EF4/0x03003F54: Current game mode
  • 0x03003F18/0x03003F78: Next/pending game mode
  • 0x03003F3C/0x03003F9C: Previous game mode

To initiate a game mode transition, overwrite dwCurrentGameMode of the pending game mode object with the new game mode id, ORed with 0x80. For example, to enter the debug menu, set it to 0x99. For a proper transition, also fill in the arguments and zero out dwModeState, dwModeTimer and any unused arguments.

List of modes

None (0x00)

This game mode contains no code and will simply hang, until a new game mode is requested externally. This game mode does not get used in-game.

Startup (0x01)

LanguageSelect (0x02)

LoadGame (0x04)

Options (0x05)

MinigameMenu (0x06)

NewGameMenu (0x07)

Overworld (0x08)

Arguments: (?, roomId, ?)

Battle (0x09)

Arguments:

  • (roomId, variantId, kindId): Standard/random encounter, indexes into random encounter table as table[room][kind][variant]
  • (encounterId, unused, 0xFF): Scripted encounter

InGameMenu (0x0A)

InGameMenuFadeIn (0x0B)

StatusEquipCharacterSelect (0x0C)

StatusEquipCharacterSelectLastCursor (0x0D)

StatusEquipSlotSelect (0x0E)

StatusEquipItemSelect (0x0F)

ItemsSectionSelect (0x10)

ItemsItemSelect (0x11)

ItemUseScreen (0x12)

Folios (0x13)

GameSave (0x14)

CardTrade (0x15)

Connectivity (0x16)

Help (0x17)

Dialogue (0x18)

DebugMenuMain (0x19)

LoadingScreen (0x1A)

WizardCrackerPopItMinigame (0x1B)

DivinationTeaMinigame (0x1C)

HighScoreNameEntryUnused (0x1D)

MinigameDifficultySelect (0x1E)

DebugMenuMapSelect (0x1F)

DebugMenuLevelAndQuestSelect (0x20)

DebugMenuSoundTest (0x21)

DebugMenuCollectorCards (0x22)

DebugMenuPortraits (0x23)

UnusedServePumpkinJuiceMinigame (0x24)

UnusedHogwartsMapScreen (0x25)

FolioUniversitas (0x26)

CoolTrainCutscene (0x27)

FolioUniversitasCardDetails (0x28)

OwlCareMinigame (0x29)

DebugMenuCharacterSelect (0x2A)

BuckbeakMinigame (0x2B)

CombatResult (0x2C)

FolioBruti (0x2D)

FredAndGeorgesShop (0x2E)

BoggartMinigame (0x2F)

ClockSkipCutscene (0x30)

HogwartsUpNightCutscene (0x31)

PurpleScreenReturnToMenu (0x32)

HarryVsDementorsMinigame (0x33)

HarryHermionePortInTimeCutscene (0x34)

HarryPatronusCutscene (0x35)

LupinPotionCutscene (0x36)

Credits (0x37)

Intro (0x38)

HarryArrivedAtHogwartsCutscene (0x39)

UnusedChristmasArrivedCutscene (0x3A)

SiriusBlackCutscene (0x3B)

PeterPettigrewCutscene (0x3C)

RonSleepingCutscene (0x3D)

TimeTurnerPermissionCutscene (0x3E)

HippogriffTookToAirCutscene (0x3F)

GameCompletedReplayCutscene (0x40)

OwlNameSelect (0x42)

QuantitySelectScreen (0x43)

HelpTopicScreen (0x44)

HippogriffFliesIntoAirCutscene (0x45)

CardComboDescription (0x46)

ConfirmTradeScreen (0x47)