This commit is contained in:
Clownacy 2020-04-04 00:43:06 +01:00
parent 5d37391882
commit bd280414ea
5 changed files with 11 additions and 3 deletions

View file

@ -1,5 +1,7 @@
#include "BossAlmo1.h"
#include <stddef.h>
#include "WindowsWrapper.h"
#include "Boss.h"

View file

@ -1,5 +1,7 @@
#include "BossAlmo2.h"
#include <stddef.h>
#include "WindowsWrapper.h"
#include "Boss.h"

View file

@ -1,5 +1,7 @@
#include "BossBallos.h"
#include <stddef.h>
#include "WindowsWrapper.h"
#include "Boss.h"

View file

@ -1,6 +1,6 @@
#include "BossOhm.h"
#include <string.h>
#include <stddef.h>
#include "WindowsWrapper.h"
@ -381,7 +381,7 @@ void ActBossChar_Omega(void)
gBoss[0].count1 = 0;
}
if (gBoss[0].act_wait < 30 && !(gBoss[0].act_wait % 5))
if (gBoss[0].act_wait < 30 && gBoss[0].act_wait % 5 == 0)
{
SetNpChar(48, gBoss[0].x, gBoss[0].y - (16 * 0x200), Random(-341, 341), -0x333, 0, NULL, 0x100);
PlaySoundObject(39, 1);

View file

@ -1,5 +1,7 @@
#include "BossX.h"
#include <stddef.h>
#include "WindowsWrapper.h"
#include "Boss.h"
@ -259,7 +261,7 @@ static void ActBossChar03_02(NPCHAR *npc)
break;
}
SetNpChar(158, npc->x + x, npc->y + y, 0, 0, direct, 0, 0x100);
SetNpChar(158, npc->x + x, npc->y + y, 0, 0, direct, NULL, 0x100);
PlaySoundObject(39, 1);
npc->act_wait = 120;