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

5 lines
144 B
Plaintext

if ( x > BOUNDARY_RIGHT + 128 || x < BOUNDARY_LEFT - 128 || y > BOUNDARY_BOTTOM + 128 || y < BOUNDARY_TOP - 128 ) {
instance_destroy();
}