diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-11-18 12:45:56 -0500 |
---|---|---|
committer | GriffinR <griffin.richards@comcast.net> | 2019-11-18 12:47:10 -0500 |
commit | a486c8affd35bec6e3b71c8c1bfbaba2dc94ec4b (patch) | |
tree | 062ac919817dbfa142929167da4e131c2dc58d49 /asm/macros | |
parent | fc3783b7395b25d290ec650d79fbdc80518046cd (diff) | |
parent | 5393b42f7ccfd10986a9a253e29ce54fae847a78 (diff) |
Begin documenting Apprentice, merge with master
Diffstat (limited to 'asm/macros')
-rw-r--r-- | asm/macros/battle_frontier.inc | 35 | ||||
-rw-r--r-- | asm/macros/event.inc | 3 |
2 files changed, 37 insertions, 1 deletions
diff --git a/asm/macros/battle_frontier.inc b/asm/macros/battle_frontier.inc new file mode 100644 index 000000000..8a5f369a3 --- /dev/null +++ b/asm/macros/battle_frontier.inc @@ -0,0 +1,35 @@ +@ To be populated with macros for the Battle Frontier CallFacilityFunction specials + + +@ Frontier Util + +.macro frontier_setlvlmode lvlmode:req +setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2 +setvar VAR_0x8005, 1 +setvar VAR_0x8006, \lvlmode +special CallFrontierUtilFunc +.endm + +@ Battle Tower + +.macro battletower_getstreak +setvar VAR_0x8004, BATTLE_TOWER_FUNC_1 +setvar VAR_0x8005, 1 +special CallBattleTowerFunc +.endm + +@ Battle Dome + +@ Battle Palace + +@ Battle Arena + +@ Battle Factory + +@ Battle Pike + +@ Battle Pyramid + +@ Battle Tent + +@ Apprentice diff --git a/asm/macros/event.inc b/asm/macros/event.inc index af4ada031..9db57daf1 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -677,7 +677,7 @@ .elseif \type == TRAINER_BATTLE_SET_TRAINER_B .4byte \pointer1 @ text .4byte \pointer2 @ text - .elseif \type == TRAINER_BATTLE_12 + .elseif \type == TRAINER_BATTLE_HILL .4byte \pointer1 @ text .4byte \pointer2 @ text .endif @@ -1655,6 +1655,7 @@ MSGBOX_DEFAULT = 4 MSGBOX_YESNO = 5 MSGBOX_AUTOCLOSE = 6 + MSGBOX_GETPOINTS = 9 YES = 1 NO = 0 |