Skip to content

Commit

Permalink
Split 943B0.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Gillou68310 committed Oct 16, 2024
1 parent 2beb2d4 commit afa05ec
Show file tree
Hide file tree
Showing 12 changed files with 402 additions and 371 deletions.
3 changes: 0 additions & 3 deletions include/code0/8EFE0.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,5 @@

s32 func_8008E3E0(s32 x, s32 y, s32 z, s32 sectnum, s32, s32);
s32 func_8008FE88(s32 spritenum);
void func_80093BB0(s32 wallnum);
void func_80094278(void);
void func_800946B8(void);

#endif
10 changes: 10 additions & 0 deletions include/code0/943B0.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#ifndef _943B0_H_
#define _943B0_H_

#include "common.h"

void func_80093BB0(u16 wallnum);
void func_80094278(void);
void func_800946B8(void);

#endif
4 changes: 3 additions & 1 deletion src/code0/37090.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ void func_8003671C(s16 playernum, u16 arg1, s16 arg2, s16 arg3)
if (actor->unk7E > 0)
{
m = (arg1 * actor->unk7E) / 100;
n = (m > 0) ? n = m : 1;
n = 1;
if (m > 0)
n = m;

arg1 -= n;
actor->unk7E -= n;
Expand Down
1 change: 1 addition & 0 deletions src/code0/41940.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "code0/87010.h"
#include "code0/A06F0.h"
#include "code0/8EFE0.h"
#include "code0/943B0.h"
#include "code0/95500.h"
#include "code0/96A80.h"
#include "code0/code0.h"
Expand Down
Loading

0 comments on commit afa05ec

Please # to comment.