Paper Mario: The Thousand Year Door (GCN/WIIRD/PAL)

Game Hacks, Trainers, Cheats

Moderator: Ralf@gc-forever

User avatar
Zephiles
Posts: 7
Joined: Sat Jun 27, 2015 8:39 pm
Contact:

Re: Paper Mario: The Thousand Year Door (GCN/WIIRD/PAL)

Post by Zephiles » Thu Nov 14, 2019 9:43 pm

This is a code that I've had for a while, and simply forgot to post. There's a memory leak with the inventory that occurs every time you start a new file. Basically, the game allocates memory for the inventory at boot, but also does so when starting a new file, and it doesn't check to see if memory is already allocated for it. This code prevents the memory leak from happening.

Code: Select all

$Inventory Memory Leak Fix [Zephiles]
C20D67E4 00000004
806D1CC0 2C030000
40A20014 3CA08003
60A501D8 7CA803A6
4E800021 00000000
TTYD Speedrunner
Post Reply