summaryrefslogtreecommitdiff
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/effect_functions.asm14
-rwxr-xr-xsrc/engine/home.asm2
2 files changed, 14 insertions, 2 deletions
diff --git a/src/engine/effect_functions.asm b/src/engine/effect_functions.asm
index d3d4eb1..8ebacdc 100644
--- a/src/engine/effect_functions.asm
+++ b/src/engine/effect_functions.asm
@@ -94,4 +94,16 @@ Func_2c09c: ; 2c09c (b:409c)
ret
; 0x2c0a2
-INCBIN "baserom.gbc",$2c0a2,$30000 - $2c0a2
+INCBIN "baserom.gbc",$2c0a2,$2c6f8 - $2c0a2
+
+SpitPoison_Poison50PercentEffect: ; 2c6f8 (b:46f8)
+ text_de PoisonCheckText
+ call TossCoin_BankB
+ jp c, PoisonEffect
+ ld a, $8c
+ ld [wLoadedMoveAnimation], a
+ call Func_2c09c
+ ret
+; 0x2c70a
+
+INCBIN "baserom.gbc",$2c70a,$30000 - $2c70a
diff --git a/src/engine/home.asm b/src/engine/home.asm
index b625718..f2faa33 100755
--- a/src/engine/home.asm
+++ b/src/engine/home.asm
@@ -2868,7 +2868,7 @@ Func_1828: ; 1828 (0:1828)
text_hl DamageToSelfDueToConfusionText
call DrawWideTextBox_PrintText
ld a, $75
- ld [wLoadedMoveUnknown2], a
+ ld [wLoadedMoveAnimation], a
ld a, $14
call Func_195c
call Func_1bb4