shithub: pokecrystal

Download patch

ref: 991d207d86c936757e70d2e6a1f6ee6b0e0f5891
parent: a094c58f1e80f31ea9cf02cc30dea455b65983ce
author: mid-kid <esteve.varela@gmail.com>
date: Tue Feb 11 08:46:56 EST 2020

OWFlash -> FlashFunction

Match the other overworld move functions

--- a/engine/battle/used_move_text.asm
+++ b/engine/battle/used_move_text.asm
@@ -41,7 +41,7 @@
 .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]
--- a/engine/events/overworld.asm
+++ b/engine/events/overworld.asm
@@ -273,7 +273,7 @@
 
 INCLUDE "data/events/field_move_blocks.asm"
 
-OWFlash:
+FlashFunction:
 	call .CheckUseFlash
 	and $7f
 	ld [wFieldMoveSucceeded], a
--- a/engine/pokemon/mon_menu.asm
+++ b/engine/pokemon/mon_menu.asm
@@ -631,7 +631,7 @@
 	ret
 
 MonMenu_Flash:
-	farcall OWFlash
+	farcall FlashFunction
 	ld a, [wFieldMoveSucceeded]
 	cp $1
 	jr nz, .Fail