internally kind of sloppy, filenames refer to Pink as a few different things and none of them are by their final name lol

Haven't managed to get this to build the debug rom? Probably not a big deal, though you have to specifically run "make kep" instead of just "make"
This commit is contained in:
Zeta_Null 2025-01-07 02:17:30 -05:00
parent 9707c2d7cb
commit 6726f5fec1
31 changed files with 256 additions and 63 deletions

View file

@ -389,6 +389,8 @@ FishingAnim:
ld a, [wPlayerSex] ; sex check
and a ; sex check
jr z, .BoySpriteLoad
cp a, 2
jr z, .EnbySpriteLoad
ld de, GreenSprite
ld hl, vNPCSprites
ld bc, (BANK(GreenSprite) << 8) + $0c
@ -397,17 +399,28 @@ FishingAnim:
ld de, RedSprite
ld hl, vNPCSprites
lb bc, BANK(RedSprite), $c
jr .KeepLoadingSpriteStuff
.EnbySpriteLoad
ld de, TealSprite
ld hl, vNPCSprites
lb bc, BANK(TealSprite), $c
.KeepLoadingSpriteStuff
call CopyVideoData
ld a, [wPlayerSex] ; ; sex check
and a ; ; sex check seriously i feel like a republican here
jr z, .BoyTiles ; skip loading Green's stuff if you're Red
cp a, 2
jr z, .EnbyTiles
ld a, $4
ld hl, GreenFishingTiles
jr .ContinueRoutine ; go back to main routine after loading Green's stuff
.BoyTiles ; alternately, load Red's stuff
ld a, $4
ld hl, RedFishingTiles
jr .ContinueRoutine ; go back to main routine after loading Red's stuff
.EnbyTiles ; alternately, load Teal's stuff
ld a, $4
ld hl, TealFishingTiles
.ContinueRoutine
call LoadAnimSpriteGfx
ld a, [wSpritePlayerStateData1ImageIndex]
@ -516,6 +529,12 @@ GreenFishingTiles:
fishing_gfx GreenFishingTilesBack, 2, $06
fishing_gfx GreenFishingTilesSide, 2, $0a
fishing_gfx RedFishingRodTiles, 3, $fd
TealFishingTiles:
fishing_gfx TealFishingTilesFront, 2, $02
fishing_gfx TealFishingTilesBack, 2, $06
fishing_gfx TealFishingTilesSide, 2, $0a
fishing_gfx RedFishingRodTiles, 3, $fd
_HandleMidJump::
ld a, [wPlayerJumpingYScreenCoordsIndex]