aboutsummaryrefslogtreecommitdiffstats
path: root/engine/battle/wild_encounters.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-06-05 20:15:21 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-06-05 20:15:21 -0400
commit5ecda4d2741cc8f43a0b172aefc8299e44687832 (patch)
tree7fbac7a8f1be0bcd6a877ea47ec73fd5dfbbc211 /engine/battle/wild_encounters.asm
parentFix EOL to LF to make push requests more doable. (diff)
parentFix a lot of bugs (diff)
downloadpokeyellow-5ecda4d2741cc8f43a0b172aefc8299e44687832.tar.gz
pokeyellow-5ecda4d2741cc8f43a0b172aefc8299e44687832.tar.xz
pokeyellow-5ecda4d2741cc8f43a0b172aefc8299e44687832.zip
Merge git://github.com/dannye/pokeyellow into dannye-master
Conflicts: constants/connection_constants.asm constants/evolution_constants.asm constants/list_constants.asm constants/oam_constants.asm constants/sprite_constants.asm constants/type_constants.asm engine/bank3d/random.asm engine/bank3f/main.asm home.asm home/overworld.asm home/serial.asm macros.asm main.asm wram.asm
Diffstat (limited to 'engine/battle/wild_encounters.asm')
-rw-r--r--engine/battle/wild_encounters.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/battle/wild_encounters.asm b/engine/battle/wild_encounters.asm
index 03119b90..61b318b9 100644
--- a/engine/battle/wild_encounters.asm
+++ b/engine/battle/wild_encounters.asm
@@ -23,7 +23,7 @@ TryDoWildEncounter: ; 13870 (4:7870)
jr z, .lastRepelStep
ld [wRepelRemainingSteps], a
.asm_1389e
-; determine if wild pokémon can appear in the half-block we’re standing in
+; determine if wild pokemon can appear in the half-block we're standing in
; is the bottom right tile (9,9) of the half-block we're standing in a grass/water tile?
hlCoord 9, 9
ld c, [hl]
@@ -35,9 +35,9 @@ TryDoWildEncounter: ; 13870 (4:7870)
cp c
ld a, [W_WATERRATE]
jr z, .CanEncounter
-; even if not in grass/water, standing anywhere we can encounter pokémon
-; so long as the map is “indoor” and has wild pokémon defined.
-; …as long as it’s not Viridian Forest or Safari Zone.
+; even if not in grass/water, standing anywhere we can encounter pokemon
+; so long as the map is "indoor" and has wild pokemon defined.
+; ...as long as it's not Viridian Forest or Safari Zone.
ld a, [W_CURMAP]
cp REDS_HOUSE_1F ; is this an indoor map?
jr c, .CantEncounter2
@@ -61,7 +61,7 @@ TryDoWildEncounter: ; 13870 (4:7870)
inc hl
jr .determineEncounterSlot
.gotEncounterSlot
-; determine which wild pokémon (grass or water) can appear in the half-block we’re standing in
+; determine which wild pokemon (grass or water) can appear in the half-block we're standing in
ld c, [hl]
ld hl, W_GRASSMONS
aCoord 8, 9