From f822834131d68e7262055ec8fe89d13865c673f2 Mon Sep 17 00:00:00 2001 From: xCrystal Date: Sat, 17 Sep 2016 20:39:44 +0200 Subject: unknown2 param of move struct is actually its animation --- src/engine/effect_functions.asm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/engine/effect_functions.asm') 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 -- cgit v1.2.3