diff --git a/Codes.xml b/Codes.xml index 1ef1327..a540de2 100644 --- a/Codes.xml +++ b/Codes.xml @@ -4065,8 +4065,8 @@ Instant Restart ポーズせずにやり直し sup39(サポミク) - 0.1.4 - Apr 25, 2022 + 0.2.0 + Apr 28, 2022 When you pressed the buttons configured in [#Button Config](#config) simultaneously, you can restart the current area without selecting "Exit Area" in pause menu. @@ -4087,25 +4087,27 @@ ::: - C20EAFA0 00000009 + C20EAFA0 0000000A 3C608040 A0A30D50 - 28050808 40A20030 + 28050808 40A20038 3C60817F 38A00001 98A300B3 98A30100 3C60803E 84A3600E - 90A30004 3C60800E + 90A30004 38A00040 + 90A30000 3C60800E 6063B3F8 7C6803A6 4E800020 2C000002 60000000 00000000 - C227768C 00000009 + C227768C 0000000A 3C60803F A0A35428 - 28050808 40A20030 + 28050808 40A20038 3C60817F 38A00001 98A300B3 98A30100 3C60803E 84A3A8EE - 90A30004 3C608027 + 90A30004 38A00040 + 90A30000 3C608027 60637AE4 7C6803A6 4E800020 2C000002 60000000 00000000 diff --git a/changelog.md b/changelog.md index edc7d5e..554a2d1 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,8 @@ # Changelog +## Apr 28, 2022 +### Fix InstantRestart to reset coin counter +Force coin count to be reset to 0 on restart + ## Apr 25, 2022 ### Port the following code from GMSJ01 to GMSJ0A - Pattern Selector, Instant Restart, drawText diff --git a/site/.vuepress/components/codes/InstantRestart/codegen.js b/site/.vuepress/components/codes/InstantRestart/codegen.js index c9b86fb..b069717 100644 --- a/site/.vuepress/components/codes/InstantRestart/codegen.js +++ b/site/.vuepress/components/codes/InstantRestart/codegen.js @@ -17,25 +17,27 @@ export const buttonValues = { const baseCodes = { GMSJ01: (b) => ` -C20EAFA0 00000009 +C20EAFA0 0000000A 3C608040 A0A30D50 -2805${b} 40A20030 +2805${b} 40A20038 3C60817F 38A00001 98A300B3 98A30100 3C60803E 84A3600E -90A30004 3C60800E +90A30004 38A00040 +90A30000 3C60800E 6063B3F8 7C6803A6 4E800020 2C000002 60000000 00000000 `, GMSJ0A: (b) => ` -C227768C 00000009 +C227768C 0000000A 3C60803F A0A35428 -2805${b} 40A20030 +2805${b} 40A20038 3C60817F 38A00001 98A300B3 98A30100 3C60803E 84A3A8EE -90A30004 3C608027 +90A30004 38A00040 +90A30000 3C608027 60637AE4 7C6803A6 4E800020 2C000002 60000000 00000000