DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
dungeoneventdata.cpp
1#include "dungeoneventdata.hpp"
2
3#include <cstdio>
4
6 if (source == NULL) {
7 printf("******** event NULL !!\n");
8
9 for (;;) {
10 }
11 }
12
13 event = source;
14 hold = source->hold;
15 switch_on = source->switch_on;
16 enabled = true;
17 chara_done = -1;
18}
19
21 if (event == NULL) {
22 return 0;
23 }
24
25 if (enabled != 0 && switch_on != 0) {
26 return 1;
27 }
28
29 return 0;
30}
31
33 switch_on = false;
34}
35
37 switch_on = true;
38}
void Set(CDungeonEvent *source)
CDungeonEvent * event