2015-11-03 12:05:19 -08:00
|
|
|
const_def
|
2015-11-26 18:05:32 -08:00
|
|
|
const BATTLETOWERACTION_00
|
|
|
|
const BATTLETOWERACTION_01
|
|
|
|
const BATTLETOWERACTION_02
|
2015-12-08 13:06:13 -08:00
|
|
|
const BATTLETOWERACTION_SAVE_AND_QUIT
|
2015-11-26 18:05:32 -08:00
|
|
|
const BATTLETOWERACTION_CHALLENGECANCELED
|
|
|
|
const BATTLETOWERACTION_05
|
|
|
|
const BATTLETOWERACTION_06 ; reset stuff in SRAM bank 5
|
|
|
|
const BATTLETOWERACTION_SAVELEVELGROUP
|
|
|
|
const BATTLETOWERACTION_LOADLEVELGROUP
|
|
|
|
const BATTLETOWERACTION_CHECKSAVEFILEISYOURS
|
|
|
|
const BATTLETOWERACTION_0A
|
|
|
|
const BATTLETOWERACTION_CHECKMOBILEEVENT
|
|
|
|
const BATTLETOWERACTION_0C ; more time stuff in SRAM bank 5
|
|
|
|
const BATTLETOWERACTION_0D ; more time stuff in SRAM bank 5
|
2015-12-08 13:06:13 -08:00
|
|
|
const BATTLETOWERACTION_EGGTICKET ; egg ticket
|
2015-11-26 18:05:32 -08:00
|
|
|
const BATTLETOWERACTION_0F ; check w3_d090
|
2015-12-26 18:59:03 -08:00
|
|
|
const BATTLETOWERACTION_10 ; dw based on 5:a800
|
2015-11-26 18:05:32 -08:00
|
|
|
const BATTLETOWERACTION_11 ; store 0 in 5:aa8d
|
|
|
|
const BATTLETOWERACTION_12 ; store 1 in 5:aa8d
|
|
|
|
const BATTLETOWERACTION_13 ; check 5:aa8d
|
|
|
|
const BATTLETOWERACTION_14 ; if save file is yours: bit 0, [sbe4f]
|
|
|
|
const BATTLETOWERACTION_15 ; set 0, [sbe4f]
|
|
|
|
const BATTLETOWERACTION_16 ; update time in SRAM bank 5
|
|
|
|
const BATTLETOWERACTION_17 ; check time in SRAM bank 5
|
|
|
|
const BATTLETOWERACTION_18 ; level check
|
|
|
|
const BATTLETOWERACTION_19 ; ubers check
|
|
|
|
const BATTLETOWERACTION_RESETDATA ; clear data
|
2015-12-08 13:06:13 -08:00
|
|
|
const BATTLETOWERACTION_GIVEREWARD ; give reward
|
2015-11-26 18:05:32 -08:00
|
|
|
const BATTLETOWERACTION_1C ; set won challenge
|
|
|
|
const BATTLETOWERACTION_1D ; set received reward
|
2015-12-08 13:06:13 -08:00
|
|
|
const BATTLETOWERACTION_CHOOSEREWARD ; save options
|
|
|
|
const BATTLETOWERACTION_SAVEOPTIONS
|
2015-11-26 18:05:32 -08:00
|
|
|
|
|
|
|
BATTLETOWER_NO_CHALLENGE EQU 0
|
|
|
|
BATTLETOWER_SAVED_AND_LEFT EQU 1
|
|
|
|
BATTLETOWER_CHALLENGE_IN_PROGESS EQU 2
|
|
|
|
BATTLETOWER_WON_CHALLENGE EQU 3
|
|
|
|
BATTLETOWER_RECEIVED_REWARD EQU 4
|