Files
dockipelago/worlds/tloz_oos/patching/asm/conditional/secret_locations.yaml
Jonathan Tinney 7971961166
Some checks failed
Analyze modified files / flake8 (push) Failing after 2m28s
Build / build-win (push) Has been cancelled
Build / build-ubuntu2204 (push) Has been cancelled
ctest / Test C++ ubuntu-latest (push) Has been cancelled
ctest / Test C++ windows-latest (push) Has been cancelled
Analyze modified files / mypy (push) Has been cancelled
Build and Publish Docker Images / Push Docker image to Docker Hub (push) Successful in 5m4s
Native Code Static Analysis / scan-build (push) Failing after 5m2s
type check / pyright (push) Successful in 1m7s
unittests / Test Python 3.11.2 ubuntu-latest (push) Failing after 16m23s
unittests / Test Python 3.12 ubuntu-latest (push) Failing after 28m19s
unittests / Test Python 3.13 ubuntu-latest (push) Failing after 14m49s
unittests / Test hosting with 3.13 on ubuntu-latest (push) Successful in 5m0s
unittests / Test Python 3.13 macos-latest (push) Has been cancelled
unittests / Test Python 3.11 windows-latest (push) Has been cancelled
unittests / Test Python 3.13 windows-latest (push) Has been cancelled
add schedule I, sonic 1/frontiers/heroes, spirit island
2026-04-02 23:46:36 -07:00

142 lines
2.8 KiB
YAML

# GLOBALFLAG_DONE_CLOCK_SHOP_SECRET
# Replace game finished check by setting the flag saying the code has been inputted, for now
0f/794f/: |
ld a,$50
call setGlobalFlag
nop
nop
nop
0b/7bb6/: |
dwbe locations.clockSecret
db retscript
0b/7bbd/: |
dwbe locations.clockSecret
db retscript
0b/7b94/: db $f8 ; wait 60, replacing the sword's wait 90
# GLOBALFLAG_DONE_GRAVEYARD_SECRET
# Replace game finished check by setting the flag saying the code has been inputted, for now
0f/7ad5/: |
ld a,$51
call setGlobalFlag
nop
nop
nop
0b/7c89/: dwbe locations.graveyardSecret
# GLOBALFLAG_DONE_SUBROSIAN_SECRET
# Replace game finished check by setting the flag saying the code has been inputted, for now
0f/7d25/: |
ld a,$52
call setGlobalFlag
nop
nop
nop
# Switch this special guy to use the normal GLOBALFLAG_BEGAN_GRAVEYARD_SECRET flag instead of a room flag
0f/7d52/: |
ld a,$52
call checkGlobalFlag
0b/7d99/: dwbe locations.subrosianSecret
# GLOBALFLAG_DONE_DIVER_SECRET
0f/7de3/: |
ld a,$53
call setGlobalFlag
nop
nop
nop
0b/7e56/: |
db giveitem
dwbe locations.diverSecret
db script_nop
# GLOBALFLAG_DONE_SMITH_SECRET
# Always consider in post-game
0a/6434/: db $18 ; jr
# Undo normal patch that remove the secret dialogue
0b/7596/: /copy s,$0b,$3596,$02
0b/7607/: db $23 ; skip checking secret
# skip the start of reforge shield which has been changed for the hard ore check
0b/762b/: dw $62b3
15/62b3/: |
ld a,locations.smithSecret.subid
15/62be/: db locations.smithSecret.id
# GLOBALFLAG_DONE_PIRATE_SECRET
0b/5ddf/: db $13 ; GLOBALFLAG_PIRATES_LEFT_FOR_SHIP
0b/5df5/: db $13 ; make it as if the secret always is considered given by checking GLOBALFLAG_PIRATES_LEFT_FOR_SHIP again
0b/5e1e/: dwbe $5e30 ; skip to the reward
0b/5e30/: |
db script_nop,script_nop,script_nop ; Don't change bomb count
db giveitem
dwbe locations.pirateSecret
# GLOBALFLAG_DONE_TEMPLE_SECRET
0b/7e7b/: dw $7e8c ; skip to correct secret
0b/7e8f/: |
db giveitem
dwbe locations.templeSecret
db script_nop
0f/7ea7/: db $00,$00,$00 ; skip deleting the fairy before post-game
# GLOBALFLAG_DONE_DEKU_SECRET
0f/7f58/: db $00,$00 ; skip pre-post-game behavior
0f/7f6c/: db $18 ; (jr) make the secret never asked
# Make the scrub ask just one of each
15/65cf/: db $00,$00,$00
15/65c2/: ret z
0b/7ee3/: dwbe locations.dekuSecret
# GLOBALFLAG_DONE_BIGGORON_SECRET
0b/617a/: |
db jumpifroomflagset, $40 ; post-game after giving soup
dw $61f6
0b/620e/: dw $6240 ; Skip to given a valid secret
14/4ae3/: dwbe locations.biggoronSecret
# GLOBALFLAG_DONE_RUUL_SECRET
# Make it so that the mayor moves after giving the gift
08/5790/: |
ld a,($c886)
and $20
# Validate without asking the secret
0b/4ff1/: dw $5009
0b/502d/: dwbe locations.mayorSecret
0b/4103/: jr $55