File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ extern uint8_t MUSIC_ON;
144144#define BEFANA_MAX_Y 214
145145
146146
147- #define GIFT_ENERGY 25
147+ #define GIFT_ENERGY 20
148148
149149#define LEVEL_DISTANCE 100U
150150
@@ -153,7 +153,7 @@ uint8_t forward_thrust;
153153uint8_t accelleration ;
154154uint8_t cool_down ;
155155
156- #define MAX_COOL_DOWN 250
156+ #define MAX_COOL_DOWN 254
157157
158158#define BOOST_DURATION 12
159159#define BOOST_THRESHOLD 7
@@ -804,7 +804,7 @@ void init_player(uint8_t sprite_index)
804804 // SPRC[BEFANA_INDEX] = PINK;
805805
806806 SPRX [sprite_index ] = 30 ;
807- SPRY [sprite_index ] = 50 ;
807+ SPRY [sprite_index ] = 100 ;
808808 SPRC [sprite_index ] = RED ;
809809 SPRM [sprite_index ] = 1 ;
810810
@@ -1778,6 +1778,10 @@ void handle_balloon_collision(void)
17781778 decrease_energy (BALLOON_DAMAGE );
17791779 freeze = FREEZE_DAMAGE ;
17801780 display_energy ();
1781+ if (cool_down > 1 )
1782+ {
1783+ cool_down = MAX_COOL_DOWN ;
1784+ }
17811785 }
17821786 }
17831787 }
You can’t perform that action at this time.
0 commit comments