//this script fills life up, touch_damage must be set to -1. (run script mode) void main( ) { sp_seq(¤t_sprite, 54); sp_frame(¤t_sprite, 1); //so the seq will start sp_brain(¤t_sprite, 6); sp_touch_damage(¤t_sprite, -1); sp_nohit(¤t_sprite, 1); } void touch( void ) { &life += 3; if (&life > &lifemax) { &life = &lifemax; } Playsound(10,22050,0,0,0); sp_brain_parm(¤t_sprite, 10); sp_brain(¤t_sprite, 12); sp_touch_damage(¤t_sprite, 0); sp_timing(¤t_sprite, 0); say_xy("sword2.wav/22050Hz - heart pick-up", 0, 380); }