Relic Castle

Hello!

On the official Pokémon Essentials wiki I found the command that should enable you to forcefully mount your bike, but I haven't been able to execute this succesfully.

This is a literal quote from the thread:
"You can force the player to get on their bicycle by using pbMountBike, and force them off again with pbDismountBike (although you shouldn't ever need to)."
Click here for the page

I've tried calling this event via Action Button and Player Touch events, but it always results in the following error.


---------------------------
Pokemon Fractured Evil
---------------------------
[Pokémon Essentials version 17.2]
Exception: RuntimeError
Message: Script error within event 11 (coords 24,18), map 45 (Route 3):
Exception: NameError
Message: (eval):1:in `pbExecuteScript'undefined local variable or method `pbMountBike' for #<Interpreter:0xee2e448>
***Full script:
pbMountBike

Interpreter:243:in `pbExecuteScript'
Interpreter:1606:in `eval'
Interpreter:243:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:163:in `update'
Scene_Map:161:in `loop'

Interpreter:276:in `pbExecuteScript'
Interpreter:1606:in `command_355'
Interpreter:494:in `execute_command'
Interpreter:193:in `update'
Interpreter:106:in `loop'
Interpreter:198:in `update'
Scene_Map:163:in `update'
Scene_Map:161:in `loop'
Scene_Map:170:in `update'
Scene_Map:234:in `main'

This exception was logged in
C:\Users\Jephed\Saved Games\Pokemon Fractured Evil\errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------

I have a bicycle sprite, so as far as I know it has nothing to do with that.
I'm testing this in a blank version of 17.2 by the way. Perhaps I should also mention that calling this command via event didn't work for me in 16.2 either.

The code for this command can be found in the script section: PField_Field on lines 493 - 498

I hope somebody is able to help me out here.
Thanks in adavance!

With kind regards,

Jephed
Top