diff --git a/patches/ips/disable_major_glitches.ips b/patches/ips/disable_major_glitches.ips new file mode 100644 index 000000000..b8ee4068c Binary files /dev/null and b/patches/ips/disable_major_glitches.ips differ diff --git a/patches/ips/vanilla_bugfixes.ips b/patches/ips/vanilla_bugfixes.ips index 60cad8d5a..f6320ce4a 100644 Binary files a/patches/ips/vanilla_bugfixes.ips and b/patches/ips/vanilla_bugfixes.ips differ diff --git a/patches/src/disable_major_glitches.asm b/patches/src/disable_major_glitches.asm new file mode 100644 index 000000000..428151d0f --- /dev/null +++ b/patches/src/disable_major_glitches.asm @@ -0,0 +1,20 @@ +arch snes.cpu +lorom + +; This patch is a consolidation of the major glitches that were previously included in the vanilla_bugfixes.asm file. +; They are relocated here to make it easier to disable them while still keeping the other quality of life features. + + +;;; disable GT code +;org $aac91c +; bra $3f + +; the original patch only changed the conditional branch to a forced branch. +; we can skip loading the joypad input and meaningless comparission entirely. + +org $aac917 + rtl + +;;; disable spacetime beam select in pause menu +org $82b174 + ldx #$0001 \ No newline at end of file diff --git a/patches/src/vanilla_bugfixes.asm b/patches/src/vanilla_bugfixes.asm index c52864151..5192eb031 100644 --- a/patches/src/vanilla_bugfixes.asm +++ b/patches/src/vanilla_bugfixes.asm @@ -39,15 +39,7 @@ assert pc() <= $84871B ; just to make sure the next instruction isn't overwritte org $91b629 db $01 -;;; disable GT code -org $aac91c - bra $3f - ;;; Pause menu fixes : - -;;; disable spacetime beam select in pause menu -org $82b174 - ldx #$0001 ;;; fix screw attack select in pause menu org $82b4c4 cpx #$000c diff --git a/rust/data/presets/full-settings/Community Race Season 4.json b/rust/data/presets/full-settings/Community Race Season 4.json index 3d09ae3be..523578b58 100644 --- a/rust/data/presets/full-settings/Community Race Season 4.json +++ b/rust/data/presets/full-settings/Community Race Season 4.json @@ -4578,6 +4578,7 @@ "ultra_low_qol": false, "disable_spikesuit": false, "disable_bluesuit": false, + "enable_major_glitches": false, "race_mode": true, "random_seed": null }, diff --git a/rust/data/presets/full-settings/Default.json b/rust/data/presets/full-settings/Default.json index 29d014421..0e3b7e347 100644 --- a/rust/data/presets/full-settings/Default.json +++ b/rust/data/presets/full-settings/Default.json @@ -4578,6 +4578,7 @@ "energy_free_shinesparks": false, "disable_spikesuit": false, "disable_bluesuit": false, + "enable_major_glitches": false, "ultra_low_qol": false, "race_mode": false, "random_seed": null diff --git a/rust/maprando-web/templates/generate/game_variations.html b/rust/maprando-web/templates/generate/game_variations.html index 722947e34..002b95b83 100644 --- a/rust/maprando-web/templates/generate/game_variations.html +++ b/rust/maprando-web/templates/generate/game_variations.html @@ -1,4 +1,4 @@ -