diff --git a/changelog.xml b/changelog.xml index a1ed804..b654dc2 100644 --- a/changelog.xml +++ b/changelog.xml @@ -1,5 +1,12 @@ + + Oct 22, 2019 + + Updated Stage Loader + The coin counter is now reset upon entering a main world. + + Oct 11, 2019 diff --git a/gctGenerator.js b/gctGenerator.js index 255f300..e2088ca 100644 --- a/gctGenerator.js +++ b/gctGenerator.js @@ -392,6 +392,9 @@ function getFastCode() { // Reset timer on secret death codes += (0xC2000000 + (game.system + 0x208 & 0x01FFFFFF)).toString(16) + '000000033C60817F38000001980300FF881C00006000000000000000' + // Reset coin count on loading main world + codes += (0xC2000000 + (game.shineGet - 0x674 & 0x01FFFFFF)).toString(16) + '00000005887D00002C030002418000142C0300074182000C2C03000A418000087C0400406000000000000000' + // Overwrite decideNextStage(void) with useful routines codes += '0' + (0x06000000 + (game.system + 0x510 & 0x01FFFFFF)).toString(16) + ('0000000' + (loadStageLength + 0x5C).toString(16)).slice(-8) +