E
EZTALES
Guest
hey yall,
needed some help with a little issue I'm having, I wanted it so that when the player punches an NPC it will start a fight against them, however, when I do nothing appears to happen. This is the code that I have below and I was wondering what I did wrong. any help is appreciated cheers!
needed some help with a little issue I'm having, I wanted it so that when the player punches an NPC it will start a fight against them, however, when I do nothing appears to happen. This is the code that I have below and I was wondering what I did wrong. any help is appreciated cheers!
Code:
/// start fight (in Step Event)
if (place_meeting(x,y,obj_NPC_5)) && (spr_player_attacking_U = 7)
{
room_goto(rm_test_3);
}