From 9ca431b4f9706a3bbbbcfb03e2bab3360a5258a2 Mon Sep 17 00:00:00 2001 From: luckytyphlosion Date: Mon, 28 Mar 2016 15:59:19 -0400 Subject: Complete documentation of bank1e Todo: address comments for data/animations.asm --- engine/overworld/cut2.asm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'engine/overworld/cut2.asm') diff --git a/engine/overworld/cut2.asm b/engine/overworld/cut2.asm index 1cf832b5..9bb4ee2c 100755 --- a/engine/overworld/cut2.asm +++ b/engine/overworld/cut2.asm @@ -1,4 +1,4 @@ -AnimCut: ; 79e96 (1e:5e96) +AnimCut: ; 7a037 (1e:6037) ld a, [wCutTile] cp $52 jr z, .grass @@ -18,6 +18,7 @@ AnimCut: ; 79e96 (1e:5e96) ld a, [rOBP1] xor $64 ld [rOBP1], a + call UpdateGBCPal_OBP1 call DelayFrame pop bc dec c @@ -43,7 +44,7 @@ AnimCut: ; 79e96 (1e:5e96) jr nz, .cutGrassLoop ret -AnimCutGrass_UpdateOAMEntries: ; 79eed (1e:5eed) +AnimCutGrass_UpdateOAMEntries: ; 7a091 (1e:6091) push bc ld hl, wOAMBuffer + $91 ld a, 1 @@ -68,13 +69,14 @@ AnimCutGrass_UpdateOAMEntries: ; 79eed (1e:5eed) ld a, [rOBP1] xor $64 ld [rOBP1], a + call UpdateGBCPal_OBP1 call DelayFrame pop bc dec c jr nz, AnimCutGrass_UpdateOAMEntries ret -AnimCutGrass_SwapOAMEntries: ; 79f30 (1e:5f30) +AnimCutGrass_SwapOAMEntries: ; 7a0d7 (1e:60d7) ld hl, wOAMBuffer + $90 ld de, wBuffer ld bc, $8 -- cgit v1.3.1-sl0p