mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
OWFlash -> FlashFunction
Match the other overworld move functions
This commit is contained in:
parent
a094c58f1e
commit
991d207d86
@ -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]
|
||||
|
@ -273,7 +273,7 @@ CheckOverworldTileArrays:
|
||||
|
||||
INCLUDE "data/events/field_move_blocks.asm"
|
||||
|
||||
OWFlash:
|
||||
FlashFunction:
|
||||
call .CheckUseFlash
|
||||
and $7f
|
||||
ld [wFieldMoveSucceeded], a
|
||||
|
@ -631,7 +631,7 @@ MonMenu_Fly:
|
||||
ret
|
||||
|
||||
MonMenu_Flash:
|
||||
farcall OWFlash
|
||||
farcall FlashFunction
|
||||
ld a, [wFieldMoveSucceeded]
|
||||
cp $1
|
||||
jr nz, .Fail
|
||||
|
Loading…
Reference in New Issue
Block a user