Advertisement
OmegaGamingHunters

obj_testnpc_create_event

Aug 18th, 2019
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.72 KB | None | 0 0
  1. event_inherited();
  2.  
  3. DialogText = "";
  4. CurrentDialog = 0;
  5. MaximumDialog = 2;
  6.  
  7. PlayerObject = obj_player;
  8. DialogKey = ord("Z");
  9. InstantKey = ord("X");
  10. DialogKey2 = vk_enter;
  11. InstantKey2 = vk_shift;
  12. InDialog = false;
  13. Speaking = false;
  14. DialogDone = false;
  15.  
  16. DialogBox_Sprite = spr_dialog_box;
  17. DialogBox_X = window_get_width()/2;
  18. DialogBox_Y = 395;
  19.  
  20. Text_Font = fnt_underfont_1;
  21. Text_Color = c_white;
  22. Text_Sound = voice_monster;
  23. Text_Speed = 3;
  24. Text_X = DialogBox_X - 260;
  25. Text_Y = DialogBox_Y - 55;
  26.  
  27. PlayerSoul = spr_frisk_soul;
  28. PlayerSoul_X = x;
  29. PlayerSoul_Y = y;
  30. ChoiceFont = fnt_underfont_1;
  31. ChoiceColor_Normal = c_white;
  32. ChoiceColor_Highlighted = c_yellow;
  33. MoveSFX = 0;
  34. SelectSFX = 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement