diff options
| author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-12-23 11:17:30 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-23 11:17:30 -0600 |
| commit | 81b38c00e4933f2dea6fbd2e80ae13692a19fa66 (patch) | |
| tree | 3b33bed743d14b14e855dcb51ac6eb5bc8326a22 /data/maps/Route113 | |
| parent | e874267edb6617759e239da0fb5cb884867aec6d (diff) | |
| parent | 55005f1588fed924bb86c420458371bf99a88e0e (diff) | |
Merge pull request #466 from melthelesbian/compare_macros
improve compare macros
Diffstat (limited to 'data/maps/Route113')
| -rw-r--r-- | data/maps/Route113/scripts.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/maps/Route113/scripts.inc b/data/maps/Route113/scripts.inc index b9ece3b21..85aa250ab 100644 --- a/data/maps/Route113/scripts.inc +++ b/data/maps/Route113/scripts.inc @@ -15,9 +15,9 @@ Route113_MapScript1_1F2161: @ 81F2161 Route113_EventScript_1F216A:: @ 81F216A getplayerxy VAR_TEMP_0, VAR_TEMP_1 compare VAR_TEMP_0, 19 - goto_if 0, Route113_EventScript_1F2189 + goto_if_lt Route113_EventScript_1F2189 compare VAR_TEMP_0, 84 - goto_if 2, Route113_EventScript_1F2189 + goto_if_gt Route113_EventScript_1F2189 setweather 7 return @@ -62,7 +62,7 @@ Route113_EventScript_1F21EE:: @ 81F21EE trainerbattle_single TRAINER_MADELINE_1, Route113_Text_299EA6, Route113_Text_299EF9, Route113_EventScript_1F221A specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_eq Route113_EventScript_1F2239 + goto_if_eq Route113_EventScript_1F2239 msgbox Route113_Text_299F15, MSGBOX_DEFAULT release end @@ -84,7 +84,7 @@ Route113_EventScript_1F2250:: @ 81F2250 trainerbattle_single TRAINER_LAO_1, Route113_Text_29A015, Route113_Text_29A04C, Route113_EventScript_1F227C specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, 1 - goto_eq Route113_EventScript_1F229B + goto_if_eq Route113_EventScript_1F229B msgbox Route113_Text_29A067, MSGBOX_DEFAULT release end |
