Rename CheckTrainerBattle

Renamed to be more in line with our current coding standards. Hopefully
this is slightly more readable.
This commit is contained in:
mid-kid
2018-10-11 11:37:19 +02:00
parent e68713d20e
commit f52f20edb7
4 changed files with 9 additions and 11 deletions

View File

@@ -248,7 +248,7 @@ PlayerEvents:
call Dummy_CheckScriptFlags3Bit5 ; This is a waste of time
call CheckTrainerBattle3
call CheckTrainerBattle_GetPlayerEvent
jr c, .ok
call CheckTileEvent
@@ -289,10 +289,10 @@ PlayerEvents:
scf
ret
CheckTrainerBattle3:
CheckTrainerBattle_GetPlayerEvent:
nop
nop
call CheckTrainerBattle2
call CheckTrainerBattle
jr nc, .nope
ld a, PLAYEREVENT_SEENBYTRAINER