aboutsummaryrefslogtreecommitdiff
path: root/dialogues
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-05-07 17:01:22 +0200
committerAstatin <[email protected]>2025-05-07 17:01:22 +0200
commit4b02238d88af30c98b2f8d44e5200fb80b04bcad (patch)
treed69861ff5fe1ebed41f9697335948bde512f10f4 /dialogues
parent7284cc51dedb4f77fe6c1fa1da735b52609b1d4d (diff)
I was adding the frog and then broke everything to fix the viewport thingy
Diffstat (limited to 'dialogues')
-rw-r--r--dialogues/dialogues.gbasm12
1 files changed, 3 insertions, 9 deletions
diff --git a/dialogues/dialogues.gbasm b/dialogues/dialogues.gbasm
index e950b93..2c4a2fd 100644
--- a/dialogues/dialogues.gbasm
+++ b/dialogues/dialogues.gbasm
@@ -191,15 +191,9 @@ Dialogue_script_instruction_Jump_Table:
LD A, L
LD ($mem_learn_attack_dialogue_ret_ptr+1), A
- LD HL, $mem_bunny_attacks
- .Learn_Attack.Check_doubles.loop:
- LD A, (HL)
- CP E
- JR Z, =.Learn_Attack.Duplicate
- INC HL
- LD A, L
- CP low($mem_bunny_attacks+4)
- JR NZ, =.Learn_Attack.Check_doubles.loop
+ CALL =Check_attack_already_learnt
+ CP $01
+ JR Z, =.Learn_Attack.Duplicate
LD A, $mem_number_of_attacks
CP $04