Skip to content

Commit 4653c5e

Browse files
committed
Document and label some duel functions
1 parent d64bd22 commit 4653c5e

File tree

7 files changed

+220
-182
lines changed

7 files changed

+220
-182
lines changed

src/constants/duel_constants.asm

+3-2
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ DEF SUBSTATUS2_UNABLE_RETREAT EQU $09
161161
DEF SUBSTATUS2_BONE_ATTACK EQU $0b
162162
DEF SUBSTATUS2_GROWL EQU $12
163163

164-
DEF SUBSTATUS3_THIS_TURN_DOUBLE_DAMAGE EQU 0
165-
DEF SUBSTATUS3_HEADACHE EQU 1
164+
DEF SUBSTATUS3_THIS_TURN_DOUBLE_DAMAGE_F EQU 0
165+
DEF SUBSTATUS3_HEADACHE_F EQU 1
166166

167167
; DUELVARS_ARENA_CARD_FLAGS constants
168168
DEF USED_PKMN_POWER_THIS_TURN_F EQU 5
@@ -236,6 +236,7 @@ DEF NO_DAMAGE_OR_EFFECT_NSHIELD EQU $05
236236
const OPPACTION_USE_METRONOME_ATTACK ; $14
237237
const OPPACTION_6B15 ; $15
238238
const OPPACTION_DUEL_MAIN_SCENE ; $16
239+
DEF NUM_OPP_ACTIONS EQU const_value
239240

240241
; constants for PracticeDuelActionTable entries
241242
const_def 1

0 commit comments

Comments
 (0)