• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Resource icon

Resource Advanced Items Field Moves v1.1.3

Bergium

Bergium#0216
Member
Joined
Jun 11, 2019
Posts
70
I can't use the flashlight in dark maps, and I don't know why. Do you have any idea? thanks uwu
I have no idea, but i can help you look into it
Have you set metadata as cave?
Hi Bergium,

I'm using this plugin and it's brilliant. Do you think that you could add something like a lava surf item as a plugin? I have no idea of scripting so I can't do it myself.

Thanks already for this great plugin :)
I can do it, i been bizzy also working on improving some things
Are there badge requirements?
If yes, is there a way of turning it off,
Plus: There is also a similar resource but working different: "Having HM-Moves as a separate slot called Skills". So your script is for Items to be used instead of HMs, then where are the images of those items?
Sorry for all those questions but Im confused, I love the idea of Ice Smash though
You can set up for a specific Badge or total Badges earn
The image for the demo item is in the download files
I think there are conflict with the skills script but i havnt testet it, so im not sure
 

MarkDS

Rookie
Member
Joined
Feb 4, 2021
Posts
6
Hi Bergium! I really like this plugin, but there's a problem when I try to use the Fly Item.

It doesn't break the game, but the fly icons don't appear, even though I have visited the cities and set the fly destinations in the townmap file, do you know what's wrong?

I tried making a new file and checking if I had the required badges (even though I know that by default they don't).
Here's the text in the townmap file:

Point = 15,7,Mitis Town,,,39,20,

Update: I didn't include the map ID! Now it works, haha.

I just have one advice, the grammar. Certain messages like when you don't have the climbing gear and interact with a rock climb wall don't have a period at the end: "The wall is very rocky. Could be climbed with the right equipment", and I think it'd look better if it did. Aside from that, this is an excellent plugin!!
 
Last edited:

Tomski

Rookie
Member
Joined
Oct 22, 2023
Posts
1
Hey!

I'm new to using plugins for Pokémon Essentials. I can't seem to find any info on how to actually use Rock Climb. Do I need to put an event with a script? What is the script called? Is the script included or do I need to write that myself? Any explaination or redirection to where I can find this info would be greatly appreciated since I can't seem to find any info on this and I have absolutely no clue how to do this.

Thanks in advance.
 

Bergium

Bergium#0216
Member
Joined
Jun 11, 2019
Posts
70
Thanks,
Im still working on it a the changes thing and improvements for how things work

I Dont have much free time atm
been som bizzy mouths for me
with work, board meetings and personal stuff

I just got another son on Oct the 14
so i also spent my time with him

I Had the time to see the changes you had to make to be able to make it work for the new version
Hey!

I'm new to using plugins for Pokémon Essentials. I can't seem to find any info on how to actually use Rock Climb. Do I need to put an event with a script? What is the script called? Is the script included or do I need to write that myself? Any explaination or redirection to where I can find this info would be greatly appreciated since I can't seem to find any info on this and I have absolutely no clue how to do this.

Thanks in advance.
Hey it works like the waterfall with Terrain Tag

-Bergium
 

furki

Rookie
Member
Joined
Dec 12, 2023
Posts
1
Heyy i really like your Filed moves. but everytime i'm trying to end diving there is an error :(

Its saying : undefined method ‘+’ for nil:NilClass

Nevermind I got i. I erased in the Item Handler.rb the + in line 938
 
Last edited by a moderator:

TaxFraug

Novice
Member
Joined
Jan 3, 2024
Posts
12
Hello, is there a way to make this plugin v work with yours? It recreates the Fly Animation when you go to a new town
 

wrigty12

Tester-Coder Hybrid
Member
Joined
Jul 24, 2022
Posts
493
Hello, is there a way to make this plugin v work with yours? It recreates the Fly Animation when you go to a new town
I made it work for my game. In the 03_Item Handler.rb file for this plugin, find the $stats.fly_count += 1 line. Add pbFlyAnimation after that line. Then find pbEraseExcapePoint and add pbFlyAnimation(false) before that one.


Screenshot of the final product
1705107900672.png
 

Pauw

Rookie
Member
Joined
Dec 7, 2023
Posts
2
I've been using this with version 21.1 and everything has been working like it should until I tried to use the Fly item, once I select a place to fly to, the screen goes black, the music of the area I've flown to starts to play but the screen stays black and im unable to move or open any menus. I've tested a new save and from different locations, to different location but always same result. Turning off the item and using normal Fly with a Pokemon works without issues.
 

Jukes

Cooltrainer
Member
Joined
Jul 15, 2023
Posts
100
It seems that for some reason this completely overrides the use of CUT or SURF in the field. My pokemon has the move CUT and can't cut through Trees.

is there a way to make this work for both the items and the field moves
 

CarmineGGW

Novice
Member
Joined
May 6, 2017
Posts
22
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.7]

Script error in event 5 (coords 13,19), map 157 (Route 601)
Exception: NoMethodError
Message: undefined method `times' for 1.0:Float

***Full script:
pbHeadbutt

Backtrace:
Overworld:551:in `pbWait'
Overworld_FieldMoves:568:in `pbHeadbuttEffect'
[Advanced Items - Field Moves] 03_Item Handler.rb:230:in `pbHeadbutt'
(eval):1:in `execute_script'
Interpreter:143:in `eval'
Interpreter:143:in `execute_script'
Interpreter_Commands:1112:in `command_355'
Interpreter_Commands:116:in `execute_command'
Interpreter:133:in `block in update'
Interpreter:90:in `loop'

any idea what to do about this? been stuck on it for awhile...
 

komeiji514

Cooltrainer
Member
Joined
Oct 28, 2023
Posts
193
I have tried to make a v21.1 version of Whirlpool for this plugin.
Whirlpool for v21.1:
#===============================================================================
# Whirlpool
#===============================================================================
# This Game $stats handle by this plugin [New from this Plugin]
if Item_Whirlpool[:active]

  EventHandlers.add(:on_player_interact, :whirlpool,
    proc {
      if $game_player.pbFacingTerrainTag.whirlpool && $PokemonGlobal.surfing
        pbWhirlpool
      end
    }
  )

  def pbWhirlpool
    if !pbCanUseItem(Item_Whirlpool)
      pbMessage(_INTL("It's a huge swirl of water use an item to cross it"))
      return false
    end
    item_name = GameData::Item.get(Item_Whirlpool[:internal_name]).name
    if pbConfirmMessage(_INTL("It's a huge swirl of water.\nWould you like to use the {1}?", item_name))
      pbMessage(_INTL("{1} used the {2}!", $player.name, item_name))
      terrain = $game_player.pbFacingTerrainTag
      return if !terrain.whirlpool
      oldthrough   = $game_player.through
      $game_player.through = true
      $game_player.move_speed = 2
      case  $game_player.direction
      when 2, 8
        $game_player.always_on_top = true
      end
      pbWait(4/100)
      loop do
        case  $game_player.direction
        when 2 #[Player Looking Down]
          if $game_player.pbFacingTerrainTag.whirlpool
            $scene.spriteset.addUserAnimation(AdvancedItemsFieldMoves::WHIRLPOOL_CONFIG[:move_down_id],$game_player.x,$game_player.y,true,1)
          end
          $game_player.move_forward
        when 4 #[Player Looking Left]
          $scene.spriteset.addUserAnimation(AdvancedItemsFieldMoves::WHIRLPOOL_CONFIG[:move_left_id],$game_player.x,$game_player.y,true,1)
          $game_player.move_forward
        when 6 #[Player Looking Right]
          $scene.spriteset.addUserAnimation(AdvancedItemsFieldMoves::WHIRLPOOL_CONFIG[:move_right_id],$game_player.x,$game_player.y,true,1)
          $game_player.move_forward
        when 8 #[Player Lookin Up]
          $scene.spriteset.addUserAnimation(AdvancedItemsFieldMoves::WHIRLPOOL_CONFIG[:move_up_id],$game_player.x,$game_player.y,true,1)
          $game_player.move_forward
        end
        terrain = $game_player.pbTerrainTag
        break if !terrain.whirlpool
        while $game_player.moving?
          Graphics.update
          Input.update
          pbUpdateSceneMap
        end
      end
      pbWait(36/100)
      $game_player.through    = oldthrough
      $game_player.move_speed = 2
      $game_player.always_on_top = false
      $game_player.check_event_trigger_here([1, 2])
    end
  end

  ItemHandlers::UseFromBag.add(Item_Whirlpool[:internal_name], proc do |item|
    if !$game_player.pbFacingTerrainTag.whirlpool && !$PokemonGlobal.surfing
      item_name = GameData::Item.get(Item_Whirlpool[:internal_name]).name
      pbMessage(_INTL("There is no sensible reason why you would be trying to use the {1} now!", item_name))
      next 0
    end
    next 2
  end)

  ItemHandlers::UseInField.add(Item_Whirlpool[:internal_name], proc do |item|
    if !$game_player.pbFacingTerrainTag.whirlpool && !$PokemonGlobal.surfing
      item_name = GameData::Item.get(Item_Whirlpool[:internal_name]).name
      pbMessage(_INTL("There is no sensible reason why you would be trying to use the {1} now!", item_name))
      next 0
    end
    pbWhirlpool
    next 1
  end)

end
By the way I made a normal HM-move style Whirlpool based on this in my own game project.
 
Last edited:

NightSaber

Rookie
Member
Joined
Feb 29, 2024
Posts
4
I tried to follow the steps but I end up with this error:
1709991730542.png


I went through the Item Handler.rb and deleted all the + I found but that just lead to more errors. Can anyone help, I really don't get why this plugin immediately doesn't work. I don't know if or when I've done something wrong.
 
Back
Top