summaryrefslogtreecommitdiff
path: root/engine/map_setup.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-08-17 11:58:57 -0400
committeryenatch <yenatch@gmail.com>2015-08-17 11:58:57 -0400
commit3cd79c55a3e1b50c8a71ad76692342e52382c700 (patch)
tree32a9feb55a0eadc24c4690cef4fd0d26b2032f00 /engine/map_setup.asm
parent9974a2c7014cbe7db3d0e516580fea48001ab3df (diff)
parent4831b4429eab57f56cce4736b6930a54f07314f7 (diff)
Merge pull request #309 from PikalaxALT/master
Wild data, save functions, fix missing include
Diffstat (limited to 'engine/map_setup.asm')
-rw-r--r--engine/map_setup.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/map_setup.asm b/engine/map_setup.asm
index baa45e636..9ac712872 100644
--- a/engine/map_setup.asm
+++ b/engine/map_setup.asm
@@ -333,7 +333,7 @@ MapSetupCommands: ; 15440
dbw BANK(DelayClearingOldSprites), DelayClearingOldSprites ; 24
dbw BANK(DelayLoadingNewSprites), DelayLoadingNewSprites ; 25
dbw BANK(UpdateRoamMons), UpdateRoamMons ; 26
- dbw BANK(RestoreRoamMons), RestoreRoamMons ; 27
+ dbw BANK(JumpRoamMons), JumpRoamMons ; 27
dbw BANK(FadeOldMapMusic), FadeOldMapMusic ; 28
dbw BANK(ActivateMapAnims), ActivateMapAnims ; 29
dbw BANK(SuspendMapAnims), SuspendMapAnims ; 2a
@@ -439,7 +439,7 @@ Function1551a: ; 1551a (5:551a)
ret
Function1554e: ; 1554e (5:554e)
- call Function1852
+ call CheckOnWater
jr nz, .ret_nc
ld a, [PlayerState]
cp PLAYER_SURF