Files
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

170 lines
4.6 KiB
YAML

# allow skipping the capcom screen after one second by pressing start
03//checkSkipCapcom: |
ld hl,$cbb3
ld a,$94
cp (hl)
ret c
jp forceEnableIntroInputs
03/4d68/: call checkSkipCapcom
# make link actionable as soon as he drops into the world.
05/4d98/: jp setLinkIdOverride
# let link jump down the cliff outside d7, in case of winter sans shovel.
# also let link jump down the snow cliff added in woods of winter.
# 05//cliffLookup: |
# push af
# ld a,(wActiveGroup)
# or a
# jr nz,@noJumpPopAf
# ld a,(wActiveRoom)
# cp $d0
# jr nz,@notD7Entrance
# pop af
# cp $a8
# jr nz,@noJump
# ld a,$08
# scf
# ret
# @notD7Entrance:
# cp $9d
# jr nz,@noJumpPopAf
# pop af
# cp $99
# jr z,@snowJump
# cp $9b
# jr nz,@noJump
# @snowJump:
# ld a,$10
# scf
# ret
# @noJumpPopAf:
# pop af
# @noJump:
# jp lookupCollisionTable
# 05/5fe8/: call cliffLookup
# custom script command to use on d1 entrance screen: disable warp tiles
# until bit of cfc0 is set. fixes a vanilla bug where dismounting an animal
# on that screen allowed you to enter without the key.
0b//d1EntranceScriptCmd: |
pop hl
push bc
ld bc,$9600
call compareRoom
pop bc
ret nz
ld a,$01
ld (wDisableWarpTiles),a
xor a
jp $432d
# new script command address and id
0b/406d/: dw d1EntranceScriptCmd
0b/4dea/: db script_d1Entrance
# make all seeds grow in all seasons.
0d/68b5/: cp a
# allow harvesting seeds from trees with either slingshot or satchel or shooter.
10//checkCanHarvestSeeds: |
call checkTreasureObtained
ret c
ld a,TREASURE_SLINGSHOT
call checkTreasureObtained
ret c
ld a,TREASURE_SHOOTER
jp checkTreasureObtained
10/4b1a/: call checkCanHarvestSeeds
# move the hitbox for the bridge lever from holodrum plain to natzu to the
# top-left corner of the screen, where it can't be hit, and replace the lever
# tile as well. this prevents the bridge from blocking the waterway.
11/6737/: db $00,$00 # object
# move d8 magnet ball one tile to the left, so you don't get stuck if
# you go up the stairs without magnet glove.
15/4f62/: db $38
# use different seed capacity table, so that level zero satchel can still
# hold 20 seeds.
3f//seedCapacityTable: |
db $20,$20,$50,$99
3f/460d/: ld hl,seedCapacityTable
# Remove whole Bipin & Blossom child mechanic
08/6392/: jp interactionDelete
# 08/6395/ up to 08/66fd/ (included) => FREE SPACE
# Remove Moblin King text when he sees Link to the right of his fort (near Sunken City)
0b/7705/: db $00
# Stop Rosa date if any Subrosian portal is taken
05//stopRosaDate: |
ld a,$0b ; GLOBALFLAG_DATING_ROSA
call unsetGlobalFlag
jp $2099 ; objectCenterOnTile
05/4c90/: jp stopRosaDate
# Forbid Maple from dropping Heart Piece or Gasha Seed
# $14 $0e $0e $1e $20
05/6988/: db $00,$00,$10,$20,$3e # @rareItems
05/6996/: db $00,$00,$04,$08,$0c # @standardItems
# Move the D5 dropping magnet ball up to not block the path when using the somaria block
15/4f29/: db $38
# Skip the screen to select link, secret or new game and skip to new game
02/41cf/: db $02
# 02/427d/ up to 02/42e3/ (included) => FREE SPACE
# Remove the original reference to the exterior of Bipin & Blossom house map function
04/614e/: db $00
# Attach the modified function above to Farore's room by extending the group4 tile changer table
04//roomTileChangerCodeGroup4DataExt: |
db $61,$2e
db $78,$02
db $2e,$04
db $64,$05
db $89,$06
db $bb,$07
db $e8,$08 ; Remove access to stairs behind Farore on 2 essences (static_items.yaml), replacing bipin&blossom sign
/ifdef d3Entrance
db d3Entrance,$03 ; Add water tiles to the entrance of the dungeon, replacing the shop minigame
/endif
db $00
04/611c/: dw roomTileChangerCodeGroup4DataExt
04/611e/: |
/ifdef d11Drowning
dw $616c
/endif
04/616c/: db $30,$03 ; Adds water tiles to the entrance of D11, but is only read if the above redirect is triggered
04/6230/: |
; Check if floodgate is open
ld a,(wOverworldRoomFlags+$81)
rlca
ret c
; Add water to the entrance
ld h,$cf
ld l,$a7
ld (hl),$fd ; water
ld l,$97
ld (hl),$fa ; shallow water
ret
05/49c9/: db $18 ; jr, avoids the code that puts you in the animal companion's coord
# 05:49cb to 05:49e5 is free, TODO: might be needed in ER, also this makes dimitri clipping stronger
# Disable ring link
0b/4ac4/: |
db showtextlowindex,$1f
db scriptend
# 0b:4ac6 to 0b:4ae1 is free
# Disable the ring link help book
0b/4b4a/: |
db $1f ; reuse the text from the blue snake
dwbe $4b44
# 0b:4b4d to 0b:4b68 is free