• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Archive] Pokemon Essentials: Starter Kit for RPG Maker XP

Status
Not open for further replies.
if you guys could help me um.... i cant get editor to work it has the

--------------------------------------------------------------
Script 'RTPAndRegistry' line 423: SyntaxError occured
--------------------------------------------------------------

but when i go to the script RTPAndRegistry isn't there o.o

can someone help me?
all help is apreciated! :)

Why don't you try this, it works!

I've got the editor working!!

What you need to do is:

Copy Scripts.rxdata in the Data folder

Delete the original Scripts.rxdata

Rename EditorScripts.rxdata to Scripts.rxdata

Open up your project in RMXP

Press F11 to open the script editor

Go to RTPAndRegistry

Press CTRL+G and type in 423

At line 423 type in end

Save and exit RMXP

Rename Scripts.rxdata back to Editor.rxdata

Rename Copy of Scripts.rxdata back to Script.rxdata

And load up your Editor XD
 
I have a problem
it says
---------------------------
Pokemon Golden destiny
---------------------------
Exception: NoMethodError
Message: undefined method `getPlayMusic' for Kernel:Module
Audio:136:in `Audio_bgm_play'
Audio:303:in `bgm_play'
Game_System:37:in `audioBgmPlay'
Game_System:58:in `bgm_play_ex'
Game_System:71:in `bgm_play'
Interpreter:1486:in `command_241'
Interpreter:414:in `execute_command'
Interpreter:190:in `update'
Interpreter:104:in `loop'
Interpreter:195:in `update'

This exception was logged in errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------


everytime I start it up.
how do I fix it?
 
Just read the posts... okay, you must delete audio.dll and it should be fine.
 
Originally Posted by [B said:
kuubara23[/B] [PokeCommunity.com] [Archive] Pokemon Essentials: Starter Kit for RPG Maker XP
if you guys could help me um.... i cant get editor to work it has the

--------------------------------------------------------------
Script 'RTPAndRegistry' line 423: SyntaxError occured
--------------------------------------------------------------

but when i go to the script RTPAndRegistry isn't there o.o

can someone help me?
all help is apreciated! :)


Why don't you try this, it works!


Quote:
Originally Posted by OblivionMew [PokeCommunity.com] [Archive] Pokemon Essentials: Starter Kit for RPG Maker XP
I've got the editor working!!

What you need to do is:

Copy Scripts.rxdata in the Data folder

Delete the original Scripts.rxdata

Rename EditorScripts.rxdata to Scripts.rxdata

Open up your project in RMXP

Press F11 to open the script editor

Go to RTPAndRegistry

Press CTRL+G and type in 423

At line 423 type in end

Save and exit RMXP

Rename Scripts.rxdata back to Editor.rxdata

Rename Copy of Scripts.rxdata back to Script.rxdata

And load up your Editor XD
What if it doesn't have the rtpandregistry script in the game because mine doesn't.
 
I'm having flying trouble.

The flying function isn't working. I made sure I had all badges and I've tried it outside and inside the editor. I also enter the Pokémon Center which has the healing spot right outside the door. I don't think it effects anything, but I also used the Pokémon Center and tried it.

In line 6 of my Pokémon Field Script it has:

Code:
BADGEFORFLY=4
and starting at 2212 in my Pokémon Field script it has:

Code:
def Kernel.pbCanUseHiddenMove?(pkmn,move)
 case move
  when PBMoves::FLY
   if !$DEBUG && !$Trainer.badges[BADGEFORFLY]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   if $game_player.pbHasDependentEvents?
    Kernel.pbMessage(_INTL("You can't use that if you have someone with you."))
    return false
   end
   if !pbGetMetadata($game_map.map_id,MetadataOutdoor)
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true
  when PBMoves::CUT
   if !$DEBUG && !$Trainer.badges[BADGEFORCUT]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   facingEvent=$game_player.pbFacingEvent
   if !facingEvent || facingEvent.name!="Tree"
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true
  when PBMoves::HEADBUTT
   facingEvent=$game_player.pbFacingEvent
   if !facingEvent || facingEvent.name!="HeadbuttTree"
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true
  when PBMoves::SURF
   terrain=Kernel.pbFacingTerrainTag
   if !$DEBUG && !$Trainer.badges[BADGEFORCUT]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   if $PokemonGlobal.surfing
    Kernel.pbMessage(_INTL("You're already surfing."))
    return false
   end
   if $game_player.pbHasDependentEvents?
    Kernel.pbMessage(_INTL("You can't use that if you have someone with you."))
    return false
   end
   terrain=Kernel.pbFacingTerrainTag
   if pbGetMetadata($game_map.map_id,MetadataBicycleAlways)
    Kernel.pbMessage(_INTL("Let's enjoy cycling!"))
    return false
   end
   if !pbIsWaterTag?(terrain)
    Kernel.pbMessage(_INTL("No surfing here!"))
    return false
   end
   return true
  when PBMoves::STRENGTH
   if !$DEBUG && !$Trainer.badges[BADGEFORSTRENGTH]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   facingEvent=$game_player.pbFacingEvent
   if !facingEvent || facingEvent.name!="Boulder"
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true  
  when PBMoves::ROCKSMASH
   terrain=Kernel.pbFacingTerrainTag
   if !$DEBUG && !$Trainer.badges[BADGEFORROCKSMASH]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   facingEvent=$game_player.pbFacingEvent
   if !facingEvent || facingEvent.name!="Rock"
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true  
  when PBMoves::FLASH
   if !$DEBUG && !$Trainer.badges[BADGEFORFLASH]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   if !pbGetMetadata($game_map.map_id,MetadataDarkMap)
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   if $PokemonGlobal.flashUsed
    Kernel.pbMessage(_INTL("This is in use already."))
    return false
   end
   return true
  when PBMoves::WATERFALL
   if !$DEBUG && !$Trainer.badges[BADGEFORWATERFALL]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   terrain=Kernel.pbFacingTerrainTag
   if terrain!=PBTerrain::Waterfall
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true
  when PBMoves::DIVE
   if !$DEBUG && !$Trainer.badges[BADGEFORDIVE]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   if $PokemonGlobal.diving
    return true
   end
   if $game_player.terrain_tag!=PBTerrain::DeepWater
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   if !pbGetMetadata($game_map.map_id,MetadataDiveMap)
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true
  when PBMoves::TELEPORT
   if !pbGetMetadata($game_map.map_id,MetadataOutdoor)
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   if $game_player.pbHasDependentEvents?
    Kernel.pbMessage(_INTL("You can't use that if you have someone with you."))
    return false
   end
   healing=$PokemonGlobal.healingSpot
   if !healing
    healing=pbGetMetadata(0,MetadataHome) # Home
   end
   if healing
    mapname=pbGetMapNameFromId(healing[0])
    if Kernel.pbConfirmMessage(_INTL("Want to return to the healing spot used last in {1}?",mapname))
     return true
    end
    return false
   else
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
  when PBMoves::DIG
   escape=pbGetMetadata($game_map.map_id,MetadataEscapePoint)
   if !escape
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   if $game_player.pbHasDependentEvents?
    Kernel.pbMessage(_INTL("You can't use that if you have someone with you."))
    return false
   end
   mapname=pbGetMapNameFromId(escape[0])
   if Kernel.pbConfirmMessage(_INTL("Want to escape from here and return to {1}?",mapname))
    return true
   end
   return false
  when PBMoves::SWEETSCENT
   return true
  else
   return HiddenMoveHandlers.triggerCanUseMove(move,pkmn)
 end
 return false
end
doesn't anyone know what's going on?
 
The flying function isn't working. I made sure I had all badges and I've tried it outside and inside the editor. I also enter the Pokémon Center which has the healing spot right outside the door. I don't think it effects anything, but I also used the Pokémon Center and tried it.

In line 6 of my Pokémon Field Script it has:

Code:
BADGEFORFLY=4
and starting at 2212 in my Pokémon Field script it has:

Code:
def Kernel.pbCanUseHiddenMove?(pkmn,move)
 case move
  when PBMoves::FLY
   if !$DEBUG && !$Trainer.badges[BADGEFORFLY]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   if $game_player.pbHasDependentEvents?
    Kernel.pbMessage(_INTL("You can't use that if you have someone with you."))
    return false
   end
   if !pbGetMetadata($game_map.map_id,MetadataOutdoor)
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true
  when PBMoves::CUT
   if !$DEBUG && !$Trainer.badges[BADGEFORCUT]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   facingEvent=$game_player.pbFacingEvent
   if !facingEvent || facingEvent.name!="Tree"
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true
  when PBMoves::HEADBUTT
   facingEvent=$game_player.pbFacingEvent
   if !facingEvent || facingEvent.name!="HeadbuttTree"
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true
  when PBMoves::SURF
   terrain=Kernel.pbFacingTerrainTag
   if !$DEBUG && !$Trainer.badges[BADGEFORCUT]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   if $PokemonGlobal.surfing
    Kernel.pbMessage(_INTL("You're already surfing."))
    return false
   end
   if $game_player.pbHasDependentEvents?
    Kernel.pbMessage(_INTL("You can't use that if you have someone with you."))
    return false
   end
   terrain=Kernel.pbFacingTerrainTag
   if pbGetMetadata($game_map.map_id,MetadataBicycleAlways)
    Kernel.pbMessage(_INTL("Let's enjoy cycling!"))
    return false
   end
   if !pbIsWaterTag?(terrain)
    Kernel.pbMessage(_INTL("No surfing here!"))
    return false
   end
   return true
  when PBMoves::STRENGTH
   if !$DEBUG && !$Trainer.badges[BADGEFORSTRENGTH]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   facingEvent=$game_player.pbFacingEvent
   if !facingEvent || facingEvent.name!="Boulder"
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true  
  when PBMoves::ROCKSMASH
   terrain=Kernel.pbFacingTerrainTag
   if !$DEBUG && !$Trainer.badges[BADGEFORROCKSMASH]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   facingEvent=$game_player.pbFacingEvent
   if !facingEvent || facingEvent.name!="Rock"
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true  
  when PBMoves::FLASH
   if !$DEBUG && !$Trainer.badges[BADGEFORFLASH]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   if !pbGetMetadata($game_map.map_id,MetadataDarkMap)
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   if $PokemonGlobal.flashUsed
    Kernel.pbMessage(_INTL("This is in use already."))
    return false
   end
   return true
  when PBMoves::WATERFALL
   if !$DEBUG && !$Trainer.badges[BADGEFORWATERFALL]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   terrain=Kernel.pbFacingTerrainTag
   if terrain!=PBTerrain::Waterfall
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true
  when PBMoves::DIVE
   if !$DEBUG && !$Trainer.badges[BADGEFORDIVE]
    Kernel.pbMessage(_INTL("Sorry, a new Badge is required."))
    return false
   end
   if $PokemonGlobal.diving
    return true
   end
   if $game_player.terrain_tag!=PBTerrain::DeepWater
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   if !pbGetMetadata($game_map.map_id,MetadataDiveMap)
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   return true
  when PBMoves::TELEPORT
   if !pbGetMetadata($game_map.map_id,MetadataOutdoor)
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   if $game_player.pbHasDependentEvents?
    Kernel.pbMessage(_INTL("You can't use that if you have someone with you."))
    return false
   end
   healing=$PokemonGlobal.healingSpot
   if !healing
    healing=pbGetMetadata(0,MetadataHome) # Home
   end
   if healing
    mapname=pbGetMapNameFromId(healing[0])
    if Kernel.pbConfirmMessage(_INTL("Want to return to the healing spot used last in {1}?",mapname))
     return true
    end
    return false
   else
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
  when PBMoves::DIG
   escape=pbGetMetadata($game_map.map_id,MetadataEscapePoint)
   if !escape
    Kernel.pbMessage(_INTL("Can't use that here."))
    return false
   end
   if $game_player.pbHasDependentEvents?
    Kernel.pbMessage(_INTL("You can't use that if you have someone with you."))
    return false
   end
   mapname=pbGetMapNameFromId(escape[0])
   if Kernel.pbConfirmMessage(_INTL("Want to escape from here and return to {1}?",mapname))
    return true
   end
   return false
  when PBMoves::SWEETSCENT
   return true
  else
   return HiddenMoveHandlers.triggerCanUseMove(move,pkmn)
 end
 return false
end
doesn't anyone know what's going on?
When you say "not working", what happens? Do you get one of those messages ("Sorry, a new Badge is required.", etc.), or does nothing at all happen?
 
Ok so in Pokemon Ryen the trainer starts out with the pokedex but I need to make it so that it does not record any data until a specific switch is activated. This means until the switch is activated ecountering any pokemon like say a shellder would not even be recorded as seen. Any help?
 
Ok so in Pokemon Ryen the trainer starts out with the pokedex but I need to make it so that it does not record any data until a specific switch is activated. This means until the switch is activated ecountering any pokemon like say a shellder would not even be recorded as seen. Any help?
Find the lines in the battle scripts (seen) and pbAddPokemon (seen/owned) that say to record the pokémon as seen/owned, and put an "if $game_switches[42]" after those lines. Oh, and that def that gives you 6 pokémon (used for debug purposes) so it's debug-friendly.

Then you need to turn switch 42 on in order to start recording information. You can turn it back off later to stop adding additional pokémon (and the pokémon you've seen/owned up to that point still remain recorded).
 
Flying Function not working.

When you say "not working", what happens? Do you get one of those messages ("Sorry, a new Badge is required.", etc.), or does nothing at all happen?
Oh, yeah. I forgot to mention that part. It doesn't get an error and it doesn't say "a new badge is required, you can't leave with someone with you, or it doesn't work here". It opens up the map, and when I try to select the place on the map. Nothing happens, the map doesn't close or do anything it just stays open.
 
Can anyone give me the RPTAndRegistry script? I don't have it. So please can someone either A give me the script or B tell me how to fix editor.exe without the script?
 
Flying Function not working.

Oh, yeah. I forgot to mention that part. It doesn't get an error and it doesn't say "a new badge is required, you can't leave with someone with you, or it doesn't work here". It opens up the map, and when I try to select the place on the map. Nothing happens, the map doesn't close or do anything it just stays open.
Another weird thing is that I have an original copy of the pokestarter and the flying function in that one is working. I set it up the same way though. The healing spot is set in the Pokécenter's Metadata and the ID is the map that leads to it, with the X and Y coordinates right at the door. I even made sure it was in the right spot by clicking in front of the door in the event layer of the RPGXP editor.

Another weird thing is that I have an original copy of the pokestarter and the flying function in that one is working. I set it up the same way though. The healing spot is set in the Pokécenter's Metadata and the ID is the map that leads to it, with the X and Y coordinates right at the door. I even made sure it was in the right spot by clicking in front of the door in the event layer of the RPGXP editor.
Ok, I figured it out. I was only setting the healing spot in the Pokémon Center's metadata (to lead outside), and I didn't set it in the townmap generator. Just one thing though, if I set the healing spot in the town map, it's not accessible by flying until I enter the Pokémon center with that coordinate in it's metadata right? Because I would really hate it if you can go to cities you haven't visited yet.

Another weird thing is that I have an original copy of the pokestarter and the flying function in that one is working. I set it up the same way though. The healing spot is set in the Pokécenter's Metadata and the ID is the map that leads to it, with the X and Y coordinates right at the door. I even made sure it was in the right spot by clicking in front of the door in the event layer of the RPGXP editor.

Ok, I figured it out. I was only setting the healing spot in the Pokémon Center's metadata (to lead outside), and I didn't set it in the townmap generator. Just one thing though, if I set the healing spot in the town map, it's not accessible by flying until I enter the Pokémon center with that coordinate in it's metadata right? Because I would really hate it if you can go to cities you haven't visited yet.
Ok, I just discovered you still have to visit, which is good.
 
Last edited:
I kinda gots a problem with the Visual Editor. I have multiple maps connected to each other and between the first route and they aren't connected. Here is a screenshot:

[PokeCommunity.com] [Archive] Pokemon Essentials: Starter Kit for RPG Maker XP
 
I kinda gots a problem with the Visual Editor. I have multiple maps connected to each other and between the first route and they aren't connected. Here is a screenshot:

[PokeCommunity.com] [Archive] Pokemon Essentials: Starter Kit for RPG Maker XP
They're not connected, they're overlapped.

As annoying as it is, you have to connect the edge of one map with the edge of the next. It seems you'll have to cut a few tiles off around each of your maps to get your desired layout.
 
Hey, guys. Saw this error posted earlier, and the dude said he fixed it(I think) but I need to find out how. Here's the error:

Exception: NoMethodError

Message: undefined method `setBitmap' for #<SpriteWrapper:0x41e5628>

PokemonEditor:1084:in `refresh'

PokemonEditor:879:in `pbListScreenBlock'

PokemonEditor:874:in `loop'

PokemonEditor:899:in `pbListScreenBlock'

PokemonEditor:2919:in `pbTrainerTypeEditor'

EditorMain:58:in `pbEditorMenu'

EditorMain:58:in `pbFadeOutIn'

EditorMain:58:in `pbEditorMenu'

EditorMain:26:in `loop'

EditorMain:97:in `pbEditorMenu'

I checked the scripts for the editor, and everything seems to be in order. What's the problem?
 
Ok, I fixed up editor.exe but a new problem happened
---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError
Message: undefined method `setBitmap' for #<SpriteWrapper:0x477cd20>
PokemonEditor:1084:in `refresh'
PokemonEditor:879:in `pbListScreenBlock'
PokemonEditor:874:in `loop'
PokemonEditor:899:in `pbListScreenBlock'
PokemonEditor:2919:in `pbTrainerTypeEditor'
EditorMain:58:in `pbEditorMenu'
EditorMain:58:in `pbFadeOutIn'
EditorMain:58:in `pbEditorMenu'
EditorMain:26:in `loop'
EditorMain:97:in `pbEditorMenu'

This exception was logged in errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
That's what happens when I want to either A want to use an existing trainer data or B want to edit the trainer data, can someone please help?
 
Okay, I found the editor.exe, but whenever I open it, I get this message:
Script 'RTPAndRegistry' Line 423: SyntaxError Occurred.
Then I went looking through the files in the game, and their is no script called 'RTPAndRegistry'. I need help...
Okay, no one has answered this, but I still haven't found out how to do it... Someone please help me...
 
I keep getting this error wen i start the test game.

---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError

Message: undefined method `getPlayMusic' for Kernel:Module

Audio:136:in `Audio_bgm_play'

Audio:303:in `bgm_play'

Game_System:37:in `audioBgmPlay'

Game_System:58:in `bgm_play_ex'

Game_System:71:in `bgm_play'

Interpreter:1486:in `command_241'

Interpreter:414:in `execute_command'

Interpreter:190:in `update'

Interpreter:104:in `loop'

Interpreter:195:in `update'



This exception was logged in errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
can some one help me
 
Ok, i found an interesting glitch in Pokemon Essentials.

1.) you select a Pokemon move and your Pokemon goes second.

2.) The defending Pokemon suicides with a move like Curse(if ghost type) or self destruct.

3.) Your pokemon survives and you are asked to switch out. You say yes.

4.) When you switch out, The Pokemon that you switched uses the move the previous move that you selected.

I.E. Your Charmander is about to use Ember, the defending Pokemon dies before you use it. You switch to Totodile. Totodile uses Ember.

Is there anyway to fix this error. It's kind of a big one.
 
I keep getting this error wen i start the test game.

---------------------------
Pokemon Essentials
---------------------------
Exception: NoMethodError

Message: undefined method `getPlayMusic' for Kernel:Module

Audio:136:in `Audio_bgm_play'

Audio:303:in `bgm_play'

Game_System:37:in `audioBgmPlay'

Game_System:58:in `bgm_play_ex'

Game_System:71:in `bgm_play'

Interpreter:1486:in `command_241'

Interpreter:414:in `execute_command'

Interpreter:190:in `update'

Interpreter:104:in `loop'

Interpreter:195:in `update'



This exception was logged in errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
can some one help me


I'm getting the same error, anyone able to help?
 
Status
Not open for further replies.
Back
Top