Merge pull request #36 from GabrielRavier/feature/improveNonNpcCharNpcFiles
Improved N files
This commit is contained in:
commit
a60e9b4ff2
3 changed files with 78 additions and 71 deletions
|
@ -251,9 +251,11 @@ BOOL SetBulletObject(int x, int y, int val)
|
|||
case 5:
|
||||
tamakazu_ari[t++] = 0;
|
||||
break;
|
||||
|
||||
case 10:
|
||||
tamakazu_ari[t++] = 1;
|
||||
break;
|
||||
|
||||
default:
|
||||
tamakazu_ari[t] = 0;
|
||||
break;
|
||||
|
@ -601,9 +603,11 @@ void DeleteNpCharCode(int code, BOOL bSmoke)
|
|||
case 1:
|
||||
SetDestroyNpChar(gNPC[n].x, gNPC[n].y, gNPC[n].view.back, 4);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
SetDestroyNpChar(gNPC[n].x, gNPC[n].y, gNPC[n].view.back, 8);
|
||||
break;
|
||||
|
||||
case 3:
|
||||
SetDestroyNpChar(gNPC[n].x, gNPC[n].y, gNPC[n].view.back, 16);
|
||||
break;
|
||||
|
|
|
@ -469,9 +469,11 @@ void LoseNpChar(NPCHAR *npc, BOOL bVanish)
|
|||
case 1:
|
||||
SetDestroyNpChar(npc->x, npc->y, npc->view.back, 3);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
SetDestroyNpChar(npc->x, npc->y, npc->view.back, 7);
|
||||
break;
|
||||
|
||||
case 3:
|
||||
SetDestroyNpChar(npc->x, npc->y, npc->view.back, 12);
|
||||
break;
|
||||
|
@ -626,3 +628,4 @@ void HitNpCharBullet()
|
|||
LoseNpChar(&gNPC[n], TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue