Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. 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.
  2.  
  3. if (attack == AT_NSPECIAL){
  4. with (asset_get("pHitBox")){
  5. if (select == player_id.select && (attack == AT_NSPECIAL)
  6. && hbox_num == 2 && place_meeting(x,y,other.id)){
  7. sound_play(asset_get("sfx_may_wrap1"));
  8. player_id.wiredestroyed = 1;
  9. }
  10.  
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement