OmegaGamingHunters

PlayerCreate Event

Sep 7th, 2019
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.15 KB | None | 0 0
  1. /// @description Creates variables For Frisk needed in the game.
  2.  
  3. Frisk_State = PlayerStates.Normal;
  4.  
  5. global.Frisk_Facing_Direction = 0;
  6. global.Chara_Mode = false;
  7. global.Frisk_shake = false;
  8. Frisk_Shakes = 1;
  9.  
  10. //Sprite Variables//
  11. global.Frisk_walkdown = spr_frisk_walkdown;
  12. global.Frisk_walkup = spr_frisk_walkup;
  13. global.Frisk_walkleft = spr_frisk_walkleft;
  14. global.Frisk_walkright = spr_frisk_walkright;
  15.  
  16. global.Frisk_down_idle = spr_frisk_down_idle;
  17. global.Frisk_up_idle = spr_frisk_up_idle;
  18. global.Frisk_left_idle = spr_frisk_left_idle;
  19. global.Frisk_right_idle = spr_frisk_right_idle;
  20.  
  21. //Frisk's Stats//
  22. global.FriskName = "Chara";
  23. global.FriskLV = 1;
  24. global.FriskCurrentHP = 20;
  25. global.FriskMaxHP = 20;
  26. global.FriskATK = 10;
  27. global.FriskDEF = 10;
  28. global.Frisk_FakeATK = 0;
  29. global.Frisk_FakeDEF = 0;
  30. global.Frisk_WpnATK = 0;
  31. global.Frisk_ArmDEF = 0;
  32. global.FriskEXP = 0;
  33. global.FriskNEXT = 10;
  34. global.FriskGOLD = 0;
  35. global.FriskKILLS = 0;
  36. global.FriskSOULS = 999;
  37. global.Extra_SoulSpeed = 1;
  38. global.Extra_WalkSpeed = 3;
  39. global.Extra_INV = 60;
  40.  
  41. //Frisk States//
  42. enum PlayerStates
  43. {
  44.     Normal,
  45.     Frozen,
  46.     Invisible,
  47.     Frozen_Invisible
  48. }
Advertisement
Add Comment
Please, Sign In to add comment