mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-22 07:22:15 +13:00
Stereo and Fast text are now default options
Making Stereo the default was weirdly taxing. I don't know how or where this is usually initialised, I searched for like 2 hours and came up empty-handed...so I made a virus in the intro sequence instead. Tested with an empty save file. Fast text was just a case of adding it to defaultoptions. I have no idea how or why this worked, as it only seems to be called when save files corrupt, and adding the stereo bit there didn't let it work in the same way. Oh well...
This commit is contained in:
parent
6ea2aaba50
commit
2a14a32533
5 changed files with 19 additions and 7 deletions
|
|
@ -378,6 +378,7 @@ SaveData:
|
|||
call _SaveData
|
||||
ret
|
||||
|
||||
; Do not delete, it's likely to be used sometime.
|
||||
Function14d6c: ; unreferenced
|
||||
ld a, BANK(s4_a60b) ; MBC30 bank used by JP Crystal; inaccessible by MBC3
|
||||
call OpenSRAM
|
||||
|
|
@ -393,6 +394,7 @@ Function14d6c: ; unreferenced
|
|||
call CloseSRAM
|
||||
ret
|
||||
|
||||
; Same here.
|
||||
Function14d83: ; unreferenced
|
||||
ld a, BANK(s4_a60c) ; aka BANK(s4_a60d) ; MBC30 bank used by JP Crystal; inaccessible by MBC3
|
||||
call OpenSRAM
|
||||
|
|
@ -402,6 +404,7 @@ Function14d83: ; unreferenced
|
|||
call CloseSRAM
|
||||
ret
|
||||
|
||||
; yep
|
||||
Function14d93: ; unreferenced
|
||||
ld a, BANK(s7_a000) ; MBC30 bank used by JP Crystal; inaccessible by MBC3
|
||||
call OpenSRAM
|
||||
|
|
@ -706,6 +709,8 @@ TryLoadSaveData:
|
|||
ret
|
||||
|
||||
.corrupt
|
||||
ld hl, wOptions
|
||||
set STEREO, [hl]
|
||||
ld hl, DefaultOptions
|
||||
ld de, wOptions
|
||||
ld bc, wOptionsEnd - wOptions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue