Extreme Speed as a field move

Resource Extreme Speed as a field move

TechSkylander1518

Wiki Dweeb
Member
Joined
Mar 24, 2017
Posts
721
TechSkylander1518 submitted a new resource:

Extreme Speed as a field move - Give the player a burst of speed!

This makes Extreme Speed a field move able to be used in the overworld! While Extreme Speed is active, the player will walk as fast as they would move while biking, will run and surf faster than that, and will bike even faster!

To make things easier with egg hatching, Extreme Speed is reset not when the player transfers to a new map, but if the player goes indoors!

In Game_Character, find this line:
Ruby:
self.move_speed_real = (val...

Read more about this resource...
 

TechSkylander1518

Wiki Dweeb
Member
Joined
Mar 24, 2017
Posts
721
TechSkylander1518 updated Extreme Speed as a field move with a new update entry:

Patching a bug

Quick update because I realized there's a game-breaking bug if you start a new game! If you're currently using this resource, change

Ruby:
    if !pbGetMetadata($game_map.map_id,MetadataOutdoor)
    @extremespeedUsed = false
    end

to

Ruby:
    if $game_player==true
      if !pbGetMetadata($game_map.map_id,MetadataOutdoor)
        @extremespeedUsed = false
      end
    end

Read the rest of this update entry...
 

Leondrea

Trainer
Member
Joined
Jul 26, 2020
Posts
65
I may try it out in a new copy of Essentials to be sure it works without any error, if it does I'll be using it for sure!
 

Heinous Pants

Rookie
Member
Joined
Feb 25, 2021
Posts
1
Age
39
After adding all of the scripts to my game, it crashes when I try to open it saying that line 114 in game_player_visuals causes a syntax error. Line 114 is the last line and it just says "=end". How do I fix this?
 

TechSkylander1518

Wiki Dweeb
Member
Joined
Mar 24, 2017
Posts
721
After adding all of the scripts to my game, it crashes when I try to open it saying that line 114 in game_player_visuals causes a syntax error. Line 114 is the last line and it just says "=end". How do I fix this?
I think you might have pasted something in wrong. Can you share what the whole game_play_visuals section looks like?

EDIT: Oh, actually, I think I have a typo in that section! def update_command should look like this:
Ruby:
  def update_command
    if PBTerrain.isIce?(pbGetTerrainTag)
      self.move_speed = 4     # Sliding on ice
    elsif !moving? && !@move_route_forcing && $PokemonGlobal
      #extremespeed
      if $PokemonGlobal.bicycle
        if $PokemonMap.extremespeedUsed
          self.move_speed = 7
        else
          self.move_speed = 5   # Cycling
        end
        elsif pbCanRun? || $PokemonGlobal.surfing
         if $PokemonMap.extremespeedUsed
            self.move_speed = 6
          else
            self.move_speed = 4   # Running, surfing
          end
        else
          if $PokemonMap.extremespeedUsed
            self.move_speed = 5
        else
          self.move_speed = 3   # Walking, diving
        end
      end
    end
    super
  end
 
Last edited:
Top