summaryrefslogtreecommitdiff
path: root/maps/Route43Gate.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-12 01:40:20 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-12 02:27:42 -0500
commitd83aefb30af180eae03bbd65878e8de45166f3d0 (patch)
tree403ca7f5d1ba0428dc542d268efebc0f6f0bf0cb /maps/Route43Gate.asm
parentb23085f526fab9c72d8851e1aba41a27f8ba7e14 (diff)
Use more constants in scripts
Diffstat (limited to 'maps/Route43Gate.asm')
-rw-r--r--maps/Route43Gate.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/maps/Route43Gate.asm b/maps/Route43Gate.asm
index e59c04390..9a59957db 100644
--- a/maps/Route43Gate.asm
+++ b/maps/Route43Gate.asm
@@ -50,17 +50,17 @@ RocketScript_Southbound:
opentext
writetext RocketText_TollFee
buttonsound
- checkmoney $0, ROUTE43GATE_TOLL - 1
- if_equal $0, RocketScript_TollSouth
+ checkmoney YOUR_MONEY, ROUTE43GATE_TOLL - 1
+ if_equal HAVE_MORE, RocketScript_TollSouth
jump RocketScript_YoureBrokeSouth
RocketScript_TollSouth:
- takemoney $0, ROUTE43GATE_TOLL
+ takemoney YOUR_MONEY, ROUTE43GATE_TOLL
writetext RocketText_ThankYou
jump RocketScript_ShakeDownSouth
RocketScript_YoureBrokeSouth:
- takemoney $0, ROUTE43GATE_TOLL
+ takemoney YOUR_MONEY, ROUTE43GATE_TOLL
writetext RocketText_AllYouGot
jump RocketScript_ShakeDownSouth
@@ -82,17 +82,17 @@ RocketScript_Northbound:
opentext
writetext RocketText_TollFee
buttonsound
- checkmoney $0, ROUTE43GATE_TOLL - 1
- if_equal $0, RocketScript_TollNorth
+ checkmoney YOUR_MONEY, ROUTE43GATE_TOLL - 1
+ if_equal HAVE_MORE, RocketScript_TollNorth
jump RocketScript_YoureBrokeNorth
RocketScript_TollNorth:
- takemoney $0, ROUTE43GATE_TOLL
+ takemoney YOUR_MONEY, ROUTE43GATE_TOLL
writetext RocketText_ThankYou
jump RocketScript_ShakeDownNorth
RocketScript_YoureBrokeNorth:
- takemoney $0, ROUTE43GATE_TOLL
+ takemoney YOUR_MONEY, ROUTE43GATE_TOLL
writetext RocketText_AllYouGot
jump RocketScript_ShakeDownNorth