diff options
| author | Tal Hayon <talhayon1@gmail.com> | 2022-05-09 17:55:58 +0300 |
|---|---|---|
| committer | Tal Hayon <talhayon1@gmail.com> | 2022-05-09 17:55:58 +0300 |
| commit | 801a324a535c86d4051f312b52f5fe52c1291891 (patch) | |
| tree | 7d89917d51c375611c7366c41f88eecdb52510dd /src/kinstone.c | |
| parent | 9730543780ab88b1d4abebee23f4d220abdbc206 (diff) | |
Match sub_08018710
Diffstat (limited to 'src/kinstone.c')
| -rw-r--r-- | src/kinstone.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/kinstone.c b/src/kinstone.c index aaf12d1e..7e31f9e3 100644 --- a/src/kinstone.c +++ b/src/kinstone.c @@ -4,6 +4,7 @@ #include "common.h" #include "flags.h" #include "player.h" +#include "kinstone.h" extern EntityData gUnk_080FEC28[]; extern EntityData gUnk_080FEBE8[]; @@ -23,6 +24,18 @@ void sub_08018A58(int); void sub_08018B50(int); void sub_080189EC(int); void sub_0801876C(int, int); +void sub_08018738(u32, int); + +void sub_08018710(u32 param_1) { + struct_080C9CBC* psVar1; + u32 i; + + for (i = 0, psVar1 = gUnk_080C9CBC; i < 0x65; psVar1++, i++) { + if ((psVar1->unk3 == 8) && (param_1 != psVar1->evt_type)) { + sub_08018738(i, psVar1->evt_type); + } + } +} void sub_08018738(u32 param_1, int param_2) { struct_080FE320* ptr = &gUnk_080FE320[param_2]; |
