Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_tag_lv2prchk.h
Go to the documentation of this file.
1#ifndef D_A_TAG_LV2PRCHK_H
2#define D_A_TAG_LV2PRCHK_H
3
5
6class daTagLv2PrChk_c : public fopAc_ac_c {
7public:
12
22
23 /* 805A4C58 */ int Create();
24 /* 805A4CDC */ int create();
25 /* 805A4D44 */ int execute();
26 /* 805A4D68 */ void action();
27 /* 805A4DF4 */ void actionCheck();
28 /* 805A5290 */ void actionEnd();
29 /* 805A5294 */ void seStartWrong();
30 /* 805A52F4 */ int _delete();
31
32 u8 getSwbit() { return fopAcM_GetParamBit(this, 0, 8); }
33 u8 getSwbit2() { return fopAcM_GetParamBit(this, 8, 8); }
34 u8 getSwbit3() { return fopAcM_GetParamBit(this, 16, 8); }
35
36 /* 0x568 */ u8 mMode;
37 /* 0x569 */ u8 mAction;
38 /* 0x56A */ s8 mDirection; // Signifies starting at either the first (1) or last (-1) switch
39 /* 0x56B */ u8 mSwbit2;
40 /* 0x56C */ u8 mPlayedSound;
41 /* 0x56D */ u8 field_0x56d;
42};
43
44#endif /* D_A_TAG_LV2PRCHK_H */
Definition d_a_tag_lv2prchk.h:6
int execute()
Definition d_a_tag_lv2prchk.cpp:38
u8 mAction
Definition d_a_tag_lv2prchk.h:37
u8 mSwbit2
Definition d_a_tag_lv2prchk.h:39
int _delete()
Definition d_a_tag_lv2prchk.cpp:182
s8 mDirection
Definition d_a_tag_lv2prchk.h:38
int create()
Definition d_a_tag_lv2prchk.cpp:27
Action_e
Definition d_a_tag_lv2prchk.h:8
@ ACTION_CHECK_e
Definition d_a_tag_lv2prchk.h:9
@ ACTION_END_e
Definition d_a_tag_lv2prchk.h:10
void action()
Definition d_a_tag_lv2prchk.cpp:63
int Create()
Definition d_a_tag_lv2prchk.cpp:11
u8 mMode
Definition d_a_tag_lv2prchk.h:36
u8 getSwbit2()
Definition d_a_tag_lv2prchk.h:33
void actionEnd()
Definition d_a_tag_lv2prchk.cpp:173
void actionCheck()
Definition d_a_tag_lv2prchk.cpp:71
Mode_e
Definition d_a_tag_lv2prchk.h:13
@ MODE_CHECK_FIRST_SW
Definition d_a_tag_lv2prchk.h:14
@ MODE_CHECK_RESET
Definition d_a_tag_lv2prchk.h:19
@ MODE_CHECK_WRONG_ORDER
Definition d_a_tag_lv2prchk.h:20
@ MODE_PUZZLE_CLEAR
Definition d_a_tag_lv2prchk.h:18
@ MODE_CHECK_SECOND_SW
Definition d_a_tag_lv2prchk.h:15
@ MODE_CHECK_THIRD_SW
Definition d_a_tag_lv2prchk.h:16
@ MODE_CHECK_FOURTH_SW
Definition d_a_tag_lv2prchk.h:17
u8 field_0x56d
Definition d_a_tag_lv2prchk.h:41
u8 mPlayedSound
Definition d_a_tag_lv2prchk.h:40
u8 getSwbit3()
Definition d_a_tag_lv2prchk.h:34
void seStartWrong()
Definition d_a_tag_lv2prchk.cpp:177
u8 getSwbit()
Definition d_a_tag_lv2prchk.h:32
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:170
Definition d_a_ep.cpp:19
signed char s8
Definition types.h:4
unsigned char u8
Definition types.h:8