Merge pull request #29 from GabrielRavier/addCommentsToBosses
Add comments to bosses
This commit is contained in:
commit
a711b34de7
2 changed files with 6 additions and 0 deletions
|
@ -142,6 +142,7 @@ void ActBossChar_Ballos(void)
|
|||
switch (npc->act_no)
|
||||
{
|
||||
case 0:
|
||||
// Initialize main boss
|
||||
npc->act_no = 1;
|
||||
npc->cond = 0x80;
|
||||
npc->exp = 1;
|
||||
|
@ -159,6 +160,7 @@ void ActBossChar_Ballos(void)
|
|||
npc->code_event = 1000;
|
||||
npc->life = 800;
|
||||
|
||||
// Initialize eyes
|
||||
gBoss[1].cond = 0x90;
|
||||
gBoss[1].direct = 0;
|
||||
gBoss[1].bits = 8;
|
||||
|
@ -175,6 +177,7 @@ void ActBossChar_Ballos(void)
|
|||
gBoss[2] = gBoss[1];
|
||||
gBoss[2].direct = 2;
|
||||
|
||||
// Initialize the body
|
||||
gBoss[3].cond = 0x90;
|
||||
gBoss[3].bits = 0xD;
|
||||
gBoss[3].view.front = 0x7800;
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "Sound.h"
|
||||
#include "Triangle.h"
|
||||
|
||||
// Balfrog's mouth
|
||||
static void ActBossChar02_01(void)
|
||||
{
|
||||
NPCHAR *boss;
|
||||
|
@ -84,6 +85,7 @@ static void ActBossChar02_02(void)
|
|||
}
|
||||
}
|
||||
|
||||
// Main boss AI
|
||||
void ActBossChar_Frog(void)
|
||||
{
|
||||
int i;
|
||||
|
@ -91,6 +93,7 @@ void ActBossChar_Frog(void)
|
|||
int ym;
|
||||
int xm;
|
||||
|
||||
// Rects 1-4 are for when Balfrog is a frog, 5-8 for when he reverts and goes into the ceiling
|
||||
RECT rcLeft[9] = {
|
||||
{0, 0, 0, 0},
|
||||
{0, 48, 80, 112},
|
||||
|
|
Loading…
Add table
Reference in a new issue