summaryrefslogtreecommitdiff
path: root/engine/battle/ai
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2018-10-28 17:16:55 +0100
committermid-kid <esteve.varela@gmail.com>2018-11-05 22:26:18 +0100
commit940256569b84e71c5a448709d67964735ff4a5c9 (patch)
tree33e78661f5317aa93b54e501272bb5c5040a0574 /engine/battle/ai
parent0af682d38ae9e60095dc2a0e11830fc8fec15d02 (diff)
text_jump → text_far
The previous name for this was rather misleading. It isn't an actual jump like you'd expect the `jp` instruction to behave as. Instead, it behaves more like a `farcall`. This also makes it consistent with its current command ID name of `TX_FAR`.
Diffstat (limited to 'engine/battle/ai')
-rw-r--r--engine/battle/ai/items.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/ai/items.asm b/engine/battle/ai/items.asm
index cccea4e00..2bc92c719 100644
--- a/engine/battle/ai/items.asm
+++ b/engine/battle/ai/items.asm
@@ -708,7 +708,7 @@ AI_Switch:
ret
TextJump_EnemyWithdrew:
- text_jump Text_EnemyWithdrew
+ text_far Text_EnemyWithdrew
db "@"
Function384d5: ; This appears to be unused
@@ -828,5 +828,5 @@ PrintText_UsedItemOn:
jp PrintText
TextJump_EnemyUsedOn:
- text_jump Text_EnemyUsedOn
+ text_far Text_EnemyUsedOn
db "@"