diff --git a/credits.txt b/credits.txt index daac4bbd..978ec6ab 100644 --- a/credits.txt +++ b/credits.txt @@ -26,6 +26,7 @@ Contributors: Llennpie LuigiNoodle PeachyPeach + PoltixeTheDerg s4ys sm64rise snuffysasa diff --git a/src/game/behaviors/boulder.inc.c b/src/game/behaviors/boulder.inc.c index beddd0b7..08fe0ad5 100644 --- a/src/game/behaviors/boulder.inc.c +++ b/src/game/behaviors/boulder.inc.c @@ -24,6 +24,11 @@ void boulder_act_1(void) { if (o->oPosY < -1000.0f) o->activeFlags = ACTIVE_FLAG_DEACTIVATED; + + if (o->oBehParams2ndByte == 2 && (sp1E & OBJ_COL_FLAG_HIT_WALL)) { + o->activeFlags = ACTIVE_FLAG_DEACTIVATED; + obj_explode_and_spawn_coins(46.0f, 1); + } } void bhv_big_boulder_loop(void) {