summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-11 23:51:43 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-11 23:51:43 -0500
commitb23085f526fab9c72d8851e1aba41a27f8ba7e14 (patch)
treed7b23914ea91f2eacc713c1a1e21dad675063828
parentaf4001132e3ead7da12faaf6e2a09b548fb98490 (diff)
Missed graphics
-rw-r--r--gfx/fishing.asm46
1 files changed, 46 insertions, 0 deletions
diff --git a/gfx/fishing.asm b/gfx/fishing.asm
new file mode 100644
index 000000000..f67c51d8b
--- /dev/null
+++ b/gfx/fishing.asm
@@ -0,0 +1,46 @@
+LoadFishingGFX: ; b84b3
+ ld a, [rVBK]
+ push af
+ ld a, $1
+ ld [rVBK], a
+
+ ld de, FishingGFX
+ ld a, [wPlayerGender]
+ bit 0, a
+ jr z, .got_gender
+ ld de, KrisFishingGFX
+.got_gender
+
+ ld hl, vTiles0 tile $02
+ call .LoadGFX
+ ld hl, vTiles0 tile $06
+ call .LoadGFX
+ ld hl, vTiles0 tile $0a
+ call .LoadGFX
+ ld hl, vTiles1 tile $7c
+ call .LoadGFX
+
+ pop af
+ ld [rVBK], a
+ ret
+; b84e3
+
+.LoadGFX: ; b84e3
+ lb bc, BANK(FishingGFX), 2
+ push de
+ call Get2bpp
+ pop de
+ ld hl, 2 tiles
+ add hl, de
+ ld d, h
+ ld e, l
+ ret
+; b84f2
+
+FishingGFX: ; b84f2
+INCBIN "gfx/overworld/chris_fish.2bpp"
+; b8582
+
+KrisFishingGFX: ; b8582
+INCBIN "gfx/overworld/kris_fish.2bpp"
+; b8612