mirror of
https://github.com/pret/pmd-red.git
synced 2026-05-23 15:46:11 -05:00
Merge pull request #477 from MkTr/patch-1
Some checks failed
GithubCI / build (push) Has been cancelled
Some checks failed
GithubCI / build (push) Has been cancelled
Kecleon Infinite Money Exploit - Bug Report and Fix
This commit is contained in:
commit
1177316f06
|
|
@ -738,6 +738,11 @@ void ReadDungeonState(u8 *buffer, u32 bufLen)
|
|||
ReadDungeonFloor(&seri);
|
||||
ReadDungeonVisibility(&seri);
|
||||
ReadDungeonMusic(&seri);
|
||||
//BUG: KECLEON INFINITE MONEY GLITCH. Upon loading a quicksave, the game erroneously re-adds the total value of the items you're planning to sell in Kecleon's shop in ReadDungeonItems,
|
||||
//which makes Kecleon give the player money whenever the player leaves the shop. Full explaination here: https://github.com/jtjanecek/rogue-rescue-team/issues/4
|
||||
#ifdef BUGFIX
|
||||
gDungeon->unk644.unk4C = 0; //Proof that unk4C is the correct variable: https://github.com/pret/pmd-red/blob/master/src/dungeon_items.c#L316
|
||||
#endif
|
||||
ReadDungeonItems(&seri);
|
||||
ReadDungeonTraps(&seri);
|
||||
ReadDungeonMonsters(&seri);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user