touhou-pride-jam-2021/thpj3/objects/obj_enemy_fairy_burst/Step_0.gml

9 lines
248 B
Plaintext

// Inherit the parent event
event_inherited();
pattern_delay -= (1 + obj_wriggle.hyper_tier);
if ( pattern_delay <= 0 && x > 300 ) {
scr_pattern_fire( PATTERN_RANDOM_BURST, 1, obj_bullet_pellet );
pattern_delay = pattern_delay_target;
}