Advertisement
M3rein

Pokéride_Rides

Oct 18th, 2017
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 4.15 KB | None | 0 0
  1. # Every PokéRide should have MoveSheet, MoveSpeed, ActionSheet, and ActionSpeed.
  2. # A PokéRide can also have one or more of the following options:
  3.  
  4. #  -> RockSmash: While the action button (Z) is being pressed, any rock you
  5. #                walk up to will be smashed.
  6. #  -> CanSurf: This Pokémon can be surfed with.
  7. #  -> WalkOnMudsdale: With this PokéRide, you can walk over terrain with
  8. #                     terrain tag 17.
  9. #  -> Strength: Boulders can be moved if the action button is held down.
  10. #  -> ShowHidden: If the action button is held down, any listed event with
  11. #                 ".hidden" (without the quotation marks) within a 4x4 radius
  12. #                 will cause the Pokéride to use "HiddenNearbySheet" and
  13. #                 "HiddenNearbySpeed". Those two must also be implemented if your
  14. #                 Pokéride has "ShowHidden"
  15. #  -> RockClimb: If set to true,
  16.  
  17. # You can have multiple of these options at once. They should all be compatible
  18. # with one another.
  19.  
  20.  
  21. # Rock Smash rocks still have to be called "Rock" without the quotation marks.
  22. # Boulders still have to be called "Boulder" and their trigger method should be
  23. #     "Player Touch" and it should have just one line of script: "pbPushThisBoulder"
  24.  
  25. # Hidden items are ".hidden" without the quotation marks for compatibility
  26. # with my Pokétch resource.
  27. # They work the same way as hidden items there:
  28. # pbUnlist(event_id): The event becomes hidden from the Itemfinder (Stoutland)
  29. # pbList(event_id): The event becomes visible for the Itemfinder (Stoutland)
  30. #                   IF the event has ".hidden" in the name.
  31.  
  32.  
  33. # If you want Surf to be the normal surf, set this to nil. Else, set it to the
  34. # name of the PokéRide in a string (e.g. "Sharpedo")
  35. SURF_MOUNT = "Lapras"
  36.  
  37. # If you want a Pokéride to be able to perform Rock Climb, set this to the
  38. # name of the Pokéride. If you don't want Rock Climb, set this to nil.
  39. ROCK_CLIMB_MOUNT = "Rhyhorn"
  40. # This is the Pokéride that is called if you press C in front of a Rock Climb tile
  41. # while not being on a Pokéride that can already use Rock Climb, which means
  42. # that this is essentially the same as "SURF_MOUNT".
  43.  
  44.  
  45. # A Pokéride can also have an effect that is activated when you mount it.
  46. # To implement something there, add your code in a method called "def self.mount".
  47. # The same can be done for dismounting, but in "def self.dismount"
  48.  
  49.  
  50. # pbMount(Tauros)
  51. module Tauros
  52.   MoveSheet = ["Pokeride/boy_tauros","Pokeride/girl_tauros"]
  53.   MoveSpeed = 5.0
  54.   ActionSheet = ["Pokeride/boy_tauros_charge","Pokeride/girl_tauros_charge"]
  55.   ActionSpeed = 5.6
  56.   RockSmash = true
  57. end
  58.  
  59. # pbMount(Lapras)
  60. module Lapras
  61.   MoveSheet = ["Pokeride/boy_lapras","Pokeride/girl_lapras"]
  62.   MoveSpeed = 4.8
  63.   ActionSheet = ["Pokeride/boy_lapras_fast","Pokeride/girl_lapras_fast"]
  64.   ActionSpeed = 5.4
  65.   CanSurf = true
  66. end
  67.  
  68. module Sharpedo
  69.   MoveSheet = ["Pokeride/boy_sharpedo","Pokeride/girl_sharpedo"]
  70.   MoveSpeed = 5.4
  71.   ActionSheet = ["Pokeride/boy_sharpedo_fast","Pokeride/girl_sharpedo_fast"]
  72.   ActionSpeed = 6.0
  73.   CanSurf = true
  74.   RockSmash = true
  75. end
  76.  
  77. # pbMount(Machamp)
  78. module Machamp
  79.   MoveSheet = ["Pokeride/boy_machamp","Pokeride/girl_machamp"]
  80.   MoveSpeed = 4.3
  81.   ActionSheet = ["Pokeride/boy_machamp_push","Pokeride/girl_machamp_push"]
  82.   ActionSpeed = 3.8
  83.   Strength = true
  84. end
  85.  
  86. # You get the idea now. pbMount(Mudsdale)
  87. module Mudsdale
  88.   MoveSheet = ["Pokeride/boy_mudsdale","Pokeride/girl_mudsdale"]
  89.   MoveSpeed = 4.1
  90.   ActionSheet = ["Pokeride/boy_mudsdale_run","Pokeride/girl_mudsdale_run"]
  91.   ActionSpeed = 4.6
  92.   WalkOnMudsdale = true
  93. end
  94.  
  95. module Stoutland
  96.   MoveSheet = ["Pokeride/boy_stoutland","Pokeride/girl_stoutland"]
  97.   MoveSpeed = 4.6
  98.   ActionSheet = ["Pokeride/boy_stoutland_search","Pokeride/girl_stoutland_search"]
  99.   ActionSpeed = 3.6
  100.   HiddenNearbySheet = ["Pokeride/boy_stoutland_found","Pokeride/girl_stoutland_found"]
  101.   HiddenNearbySpeed = 3.6
  102.   ShowHidden = true
  103. end
  104.  
  105. # Custom
  106. module Rhyhorn
  107.   MoveSheet = ["Pokeride/boy_rhyhorn","Pokeride/girl_rhyhorn"]
  108.   MoveSpeed = 4.4
  109.   ActionSheet = ["Pokeride/boy_rhyhorn","Pokeride/girl_rhyhorn"]
  110.   ActionSpeed = 4.4
  111.   RockClimb = true
  112. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement