split code out of main.asm

This commit is contained in:
YamaArashi 2016-12-31 17:23:54 -08:00
parent 10289bf7dd
commit bf67f7174d
22 changed files with 2671 additions and 2675 deletions

View file

@ -8,7 +8,7 @@ EnterMap::
ld a, $ff
ld [wJoyIgnore], a
call LoadMapData
callba ClearVariablesAfterLoadingMapData
callba ClearVariablesOnEnterMap
ld hl, wd72c
bit 0, [hl] ; has the player already made 3 steps since the last battle?
jr z, .skipGivingThreeStepsOfNoRandomBattles