diff --git a/SuperCbr.g1a b/SuperCbr.g1a index 8033aed..3e24417 100644 Binary files a/SuperCbr.g1a and b/SuperCbr.g1a differ diff --git a/src/bonus.c b/src/bonus.c index e2d4587..12dfb4b 100644 --- a/src/bonus.c +++ b/src/bonus.c @@ -57,17 +57,12 @@ void bonusMove() //+collision int collide=boxContact(&mario.p, &bonus.b); if (collide) { - if (bonus.type==BONUS_CHAMPI) + if (bonus.type==BONUS_CHAMPI || bonus.type==BONUS_FLEUR) { + if (mario.size==M_SMALL) marioBigger(); + else mario_has_bullets=1; bonusSet(BONUS_NONE,0,0); scoreAdd(1000); - marioBigger(); - } - if (bonus.type==BONUS_FLEUR) - { - bonusSet(BONUS_NONE,0,0); - mario_has_bullets=1; - scoreAdd(1000); } if (bonus.type==BONUS_1UP) { diff --git a/src/mario.c b/src/mario.c index 69fc1dc..ba319c4 100755 --- a/src/mario.c +++ b/src/mario.c @@ -46,8 +46,7 @@ void marioSmaller() mario.p.h=8; mario.size=M_SMALL; mario_has_bullets=0; - if (mario_immunity==0) - mario_immunity=1; + if (mario_immunity==0) mario_immunity=1; } void marioDraw()