OWFlash -> FlashFunction

Match the other overworld move functions
This commit is contained in:
mid-kid 2020-02-11 13:46:56 +01:00
parent a094c58f1e
commit 991d207d86
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ UsedMoveText:
.grammar
call GetMoveGrammar ; convert move id to grammar index
; everything except 'instead' made redundant in localization
; everything except 'CheckObedience' made redundant in localization
; check obedience
ld a, [wAlreadyDisobeyed]

View File

@ -273,7 +273,7 @@ CheckOverworldTileArrays:
INCLUDE "data/events/field_move_blocks.asm"
OWFlash:
FlashFunction:
call .CheckUseFlash
and $7f
ld [wFieldMoveSucceeded], a

View File

@ -631,7 +631,7 @@ MonMenu_Fly:
ret
MonMenu_Flash:
farcall OWFlash
farcall FlashFunction
ld a, [wFieldMoveSucceeded]
cp $1
jr nz, .Fail