Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (place_meeting(x+3, y+3, PlayerObject) and (keyboard_check_pressed(DialogKey) or keyboard_check_pressed(DialogKey2)) and InDialog == false and global.Frisk_State == PlayerStates.Normal)
- {
- InDialog = true;
- CurrentDialog = 0;
- global.Frisk_State = PlayerStates.Dialog;
- }
- else if (place_meeting(x+3, y+3, PlayerObject) and (keyboard_check_pressed(DialogKey) or keyboard_check_pressed(DialogKey2)) and InDialog == true and DialogDone == true and global.Frisk_State == PlayerStates.Dialog)
- {
- InDialog = false;
- DialogDone = false;
- global.Frisk_State = PlayerStates.Normal;
- }
- if (InDialog == true)
- {
- event_user(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement