mirror of
https://github.com/zeldaret/tmc
synced 2026-08-19 05:52:33 -04:00
label some asm functions
This commit is contained in:
@@ -240,7 +240,7 @@ void AcroBandit_Type0Action5(Entity* this) {
|
||||
|
||||
GetNextFrame(this);
|
||||
if (this->frame & ANIM_DONE) {
|
||||
if (gEntCount < MAX_ENTITIES - 4) {
|
||||
if (gEntCount < MAX_ENTITIES - 5) {
|
||||
u32 tmp = Random();
|
||||
tmp &= 3;
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ void FireballGuy_Action2(Entity* this) {
|
||||
|
||||
/* Can we create enough new entities? */
|
||||
count = typeEntityCount[this->type];
|
||||
if (MAX_ENTITIES + 1 - count <= gEntCount)
|
||||
if (MAX_ENTITIES - count <= gEntCount)
|
||||
return;
|
||||
|
||||
/* Create 2-5 new MiniFireballGuy */
|
||||
|
||||
+1
-1
@@ -105,7 +105,7 @@ void sub_080450A8(Entity* this) {
|
||||
|
||||
/* Can we create enough new entities? */
|
||||
count = typeEntityCount[this->type];
|
||||
if (MAX_ENTITIES + 1 - count <= gEntCount)
|
||||
if (MAX_ENTITIES - count <= gEntCount)
|
||||
return;
|
||||
|
||||
/* Create 2-4 new MiniSlime */
|
||||
|
||||
Reference in New Issue
Block a user