diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2022-01-11 21:13:37 +0100 |
|---|---|---|
| committer | hatal175 <hatal175@users.noreply.github.com> | 2022-01-11 21:13:37 +0100 |
| commit | 9fa3217cdba640cde6e2f1f92222eca79ccbf8ec (patch) | |
| tree | 78e37456eda5edca39d5a2e31119ad96c1b954ca /src | |
| parent | 688508b1afb97606c605f1d91c2b9fc773573ca0 (diff) | |
Match sub_08034B38
Diffstat (limited to 'src')
| -rw-r--r-- | src/enemy/mazaalHead.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/enemy/mazaalHead.c b/src/enemy/mazaalHead.c index 6ca1ca83..5ae7061d 100644 --- a/src/enemy/mazaalHead.c +++ b/src/enemy/mazaalHead.c @@ -772,7 +772,7 @@ void sub_08034B0C(Entity* this) { } } -NONMATCH("asm/non_matching/mazaal/sub_08034B38.inc", void sub_08034B38(Entity* this)) { +void sub_08034B38(Entity* this) { Entity* target; const s8* ptr; @@ -782,7 +782,7 @@ NONMATCH("asm/non_matching/mazaal/sub_08034B38.inc", void sub_08034B38(Entity* t } else { target = CreateProjectile(0xe); if (target != NULL) { - target->type -= 2; + target->type = this->type - 2; if (target->type == 0) { target->direction = 0xa8 - this->actionDelay; } else { @@ -793,7 +793,6 @@ NONMATCH("asm/non_matching/mazaal/sub_08034B38.inc", void sub_08034B38(Entity* t } } } -END_NONMATCH void sub_08034BA0(Entity* this) { GetNextFrame(this); |
