aboutsummaryrefslogtreecommitdiffstats
path: root/engine/events/hidden_items.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-05 19:58:21 -0400
committerGitHub <noreply@github.com>2020-07-05 19:58:21 -0400
commitc57c93d2b2fb06cadafefda37c0974ba1ec9e6c0 (patch)
tree531d6b30d5a606ae963024825ed6e614843000a6 /engine/events/hidden_items.asm
parentMerge pull request #257 from Rangi42/master (diff)
parentdb $f6 == script_cable_club_receptionist (diff)
downloadpokeyellow-c57c93d2b2fb06cadafefda37c0974ba1ec9e6c0.tar.gz
pokeyellow-c57c93d2b2fb06cadafefda37c0974ba1ec9e6c0.tar.xz
pokeyellow-c57c93d2b2fb06cadafefda37c0974ba1ec9e6c0.zip
Merge pull request #259 from Rangi42/master
Port pokecrystal's formatting of text commands and special characters
Diffstat (limited to 'engine/events/hidden_items.asm')
-rwxr-xr-xengine/events/hidden_items.asm22
1 files changed, 11 insertions, 11 deletions
diff --git a/engine/events/hidden_items.asm b/engine/events/hidden_items.asm
index ad954c9f..85ae7c93 100755
--- a/engine/events/hidden_items.asm
+++ b/engine/events/hidden_items.asm
@@ -21,8 +21,8 @@ HiddenItems:
INCLUDE "data/events/hidden_item_coords.asm"
FoundHiddenItemText::
- TX_FAR _FoundHiddenItemText
- TX_ASM
+ text_far _FoundHiddenItemText
+ text_asm
ld a, [wHiddenObjectFunctionArgument] ; item ID
ld b, a
ld c, 1
@@ -46,8 +46,8 @@ FoundHiddenItemText::
jp TextScriptEnd
HiddenItemBagFullText::
- TX_FAR _HiddenItemBagFullText
- db "@"
+ text_far _HiddenItemBagFullText
+ text_end
HiddenCoins:
ld b, COIN_CASE
@@ -121,15 +121,15 @@ HiddenCoins:
INCLUDE "data/events/hidden_coins.asm"
FoundHiddenCoinsText::
- TX_FAR _FoundHiddenCoinsText
- TX_SFX_ITEM_2
- db "@"
+ text_far _FoundHiddenCoinsText
+ sound_get_item_2
+ text_end
DroppedHiddenCoinsText::
- TX_FAR _FoundHiddenCoins2Text
- TX_SFX_ITEM_2
- TX_FAR _DroppedHiddenCoinsText
- db "@"
+ text_far _FoundHiddenCoins2Text
+ sound_get_item_2
+ text_far _DroppedHiddenCoinsText
+ text_end
FindHiddenItemOrCoinsIndex:
ld a, [wHiddenObjectY]