Path: blob/master/engine/battle/move_effects/leech_seed.asm
1271 views
LeechSeedEffect_:1callfar MoveHitTest2ld a, [wMoveMissed]3and a4jr nz, .moveMissed5ld hl, wEnemyBattleStatus26ld de, wEnemyMonType17ldh a, [hWhoseTurn]8and a9jr z, .leechSeedEffect10ld hl, wPlayerBattleStatus211ld de, wBattleMonType112.leechSeedEffect13; miss if the target is grass-type or already seeded14ld a, [de]15cp GRASS16jr z, .moveMissed17inc de18ld a, [de]19cp GRASS20jr z, .moveMissed21bit SEEDED, [hl]22jr nz, .moveMissed23set SEEDED, [hl]24callfar PlayCurrentMoveAnimation25ld hl, WasSeededText26jp PrintText27.moveMissed28ld c, 5029call DelayFrames30ld hl, EvadedAttackText31jp PrintText3233WasSeededText:34text_far _WasSeededText35text_end3637EvadedAttackText:38text_far _EvadedAttackText39text_end404142