summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2018-11-10 14:27:46 +0100
committermid-kid <esteve.varela@gmail.com>2018-11-10 14:34:49 +0100
commit375963349aa9d9eaa254257e36613f4c410b20cf (patch)
tree366cf764881037e86fae5c193690fedc0d23e258 /engine
parentabb94543071f76d697f22988bf99b171f0af7ef4 (diff)
Finish new connection macro
Tried simplifying things a bit, although not nearly as much as I wanted. Ideally, we'd either have one of two situations: - A single set of calculations based on values depending on the direction of the connection - A bunch of "generic" calculations done before applying simple modifiers to them in the final `if` block Right now it's an icky mix of both and I'm not really sure what to make of it.
Diffstat (limited to 'engine')
-rw-r--r--engine/overworld/warp_connection.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/warp_connection.asm b/engine/overworld/warp_connection.asm
index bca8591a5..0f040a624 100644
--- a/engine/overworld/warp_connection.asm
+++ b/engine/overworld/warp_connection.asm
@@ -18,7 +18,7 @@ InitCommandQueue:
EnterMapConnection:
; Return carry if a connection has been entered.
ld a, [wPlayerStepDirection]
- and a
+ and a ; DOWN
jp z, .south
cp UP
jp z, .north