Skip to content

Commit

Permalink
Add Shoot constants
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectroDeoxys committed Feb 26, 2024
1 parent fbfec8f commit 3ca79d4
Show file tree
Hide file tree
Showing 5 changed files with 274 additions and 275 deletions.
8 changes: 4 additions & 4 deletions src/engine/bank18.asm
Original file line number Diff line number Diff line change
Expand Up @@ -965,8 +965,8 @@ Func_61f10:
ld [wDollBoyNoFlashingBarrel], a
ld [wDollBoyRemainingParts], a
ld [wNumLitTorches], a
ld [wNumShootGoals], a
ld [wNumWarioGoals], a
ld [wShootGoals], a
ld [wWarioGoals], a
ret

Func_61f2a:
Expand All @@ -976,8 +976,8 @@ Func_61f2a:
ld [wDollBoyNoFlashingBarrel], a
ld [wDollBoyRemainingParts], a
ld [wNumLitTorches], a
ld [wNumShootGoals], a
ld [wNumWarioGoals], a
ld [wShootGoals], a
ld [wWarioGoals], a
ret

ClearObjects:
Expand Down
10 changes: 5 additions & 5 deletions src/engine/bank7c.asm
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ SaveLevel:
ld a, BANK("WRAM1")
ldh [rSVBK], a
ld hl, wObjects
ld bc, (wNumWarioGoals - wObjects) + 5
ld bc, (wWarioGoals - wObjects) + 5
call CopyHLToDE_BC
pop af
ldh [rSVBK], a
Expand Down Expand Up @@ -683,7 +683,7 @@ SaveLevel:
ld a, BANK("WRAM1")
ldh [rSVBK], a
ld hl, wObjects
ld bc, (wNumWarioGoals - wObjects) + 5
ld bc, (wWarioGoals - wObjects) + 5
call CopyHLToDE_BC
pop af
ldh [rSVBK], a
Expand Down Expand Up @@ -748,7 +748,7 @@ SaveLevel:
ld a, BANK("WRAM1")
ldh [rSVBK], a
ld hl, wObjects
ld bc, (wNumWarioGoals - wObjects) + 5
ld bc, (wWarioGoals - wObjects) + 5
call CopyHLToDE_BC
pop af
ldh [rSVBK], a
Expand Down Expand Up @@ -815,7 +815,7 @@ SaveLevel:
ld a, BANK("WRAM1")
ldh [rSVBK], a
ld hl, wObjects
ld bc, (wNumWarioGoals - wObjects) + 5
ld bc, (wWarioGoals - wObjects) + 5
call CopyHLToDE_BC
pop af
ldh [rSVBK], a
Expand Down Expand Up @@ -1543,7 +1543,7 @@ CalculateWRAMDataChecksum:
ld a, BANK("WRAM1")
ldh [rSVBK], a
ld hl, wObjects
ld bc, (wNumWarioGoals - wObjects) + 5
ld bc, (wWarioGoals - wObjects) + 5
call CalculateChecksumLong
pop af
ldh [rSVBK], a
Expand Down
Loading

0 comments on commit 3ca79d4

Please sign in to comment.