ref: ecbeec32026368e78f70dd576dd31fa905c6bba7
parent: ba5617f9f8d974de2ffadc895cf9588fd726b209
author: IIMarckus <iimarckus@gmail.com>
date: Thu Dec 29 13:16:50 EST 2011
Flinch check. hg-commit-id: e6166d4407ef
--- a/pokered.asm
+++ b/pokered.asm
@@ -10303,13 +10303,23 @@
.HeldInPlaceCheck\@
ld a,[W_CURMONBATTSTATUS]
bit 5,a
- jp z,$58AC
+ jp z,FlinchedCheck
ld hl,CantMoveText
call PrintText
ld hl,Function580A
jp $5A37
-INCBIN "baserom.gbc",$3D8AC,$3DA3D - $3D8AC
+FlinchedCheck: ; 58AC
+ ld hl,$D062
+ bit 3,[hl]
+ jp z,$58C2
+ res 3,[hl]
+ ld hl,FlinchedText
+ call PrintText
+ ld hl,Function580A
+ jp $5A37
+
+INCBIN "baserom.gbc",$3D8C2,$3DA3D - $3D8C2
FastAsleepText:
TX_FAR _FastAsleepText