Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Note: The move in question is Neutral Special, and it is supposed to set a variable known as "wiredestroyed" to 1, if one of its hitboxes overlaps an enemy hitbox, i.e. if the article is attacked. Hitbox #2 for Neutral Special is being used as a pseudo-hurtbox for the article in question.
- if (attack == AT_NSPECIAL){
- with (asset_get("pHitBox")){
- if (select == player_id.select && (attack == AT_NSPECIAL)
- && hbox_num == 2 && place_meeting(x,y,other.id)){
- sound_play(asset_get("sfx_may_wrap1"));
- player_id.wiredestroyed = 1;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement