diff options
author | Pokeglitch <39797359+Pokeglitch@users.noreply.github.com> | 2018-06-18 21:32:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-18 21:32:52 -0400 |
commit | 61f84aa25409bbdfa7a7c95cc831977cd8462ae4 (patch) | |
tree | 0382b21830580d39759cba42a7073dee9c734fec /engine/overworld/spawn_points.asm | |
parent | f25d7c2299513b7ec77738a4625d4e70dcfbbb1c (diff) | |
parent | a6c1d2d45853214119b90b9918636508451a269f (diff) |
Merge pull request #22 from Pokeglitch/master
More Bank 03 Routines
Diffstat (limited to 'engine/overworld/spawn_points.asm')
-rwxr-xr-x | engine/overworld/spawn_points.asm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engine/overworld/spawn_points.asm b/engine/overworld/spawn_points.asm index 81b04b0..c159a21 100755 --- a/engine/overworld/spawn_points.asm +++ b/engine/overworld/spawn_points.asm @@ -3,10 +3,10 @@ INCLUDE "constants.asm" SECTION "LoadSpawnPoint", ROMX[$4791], BANK[$03]
LoadSpawnPoint: ; 03:4791
-; loads the spawn point in wDefaultSpawnpoint
+; loads the spawn point in wDefaultSpawnPoint
push hl
push de
- ld a, [wDefaultSpawnpoint]
+ ld a, [wDefaultSpawnPoint]
and a
jr z, .skip
dec a
@@ -57,4 +57,3 @@ IsSpawnPoint: ; 03:47b6 .succeed
scf
ret
-
|