Resource icon

Resource Mid battle dialogue port (temporary version) 3.0

grogro

Novice
Member
Joined
Mar 6, 2021
Posts
40
Age
26
grogro submitted a new resource:

Mid battle dialogue for v20 (temporary version) - A port of Mid battle dialogue from Golisopod User to v20

This is a temporary port of Mid battle dialogue for v20. This post will be deleted as soon as an official version is released.
In the downloaded folder, you have a folder that need to go in your plugin folder and two pictures that need to go in the graphics/battle animation folder.
Then you need to add this line: $PokemonTemp=PokemonTemp.new()
somewhere in the code where it's called whenever you start the game.
I personnaly put it in main in the def pbcalltitle function.
[ATTACH...

Read more about this resource...
 

CelestialFearow

Venipede User
Member
Joined
Jul 24, 2020
Posts
71
The game say "PBMoves" don't exist.

"battle.pbAnimation(getID(PBMoves,:HOWL),battle.battlers[1],battle.battlers[0])"

Also I think this don't work.

battle.battlers[1].pbOwnSide.effects[PBEffects::Safeguard] = 99
 
Last edited:

grogro

Novice
Member
Joined
Mar 6, 2021
Posts
40
Age
26
The game say "PBMoves" don't exist.

"battle.pbAnimation(getID(PBMoves,:HOWL),battle.battlers[1],battle.battlers[0])"
You are right for this one, it's something I left and forgot to remove. The correct synthax is
battle.pbAnimation(:HOWL,battle.battlers[1],battle.battlers[0])

But the second one works for me (It doesn't throw any message, that's normal)
 

TheRedeemedGamer

How do I change this? :P
Member
Joined
Aug 28, 2020
Posts
54
Age
34
I ran this script command in a trainer battle event
Code:
BattleScripting.set("lastOpp","text"=>"So, it's come down to this...")
and the dialogue and trainer sprite appeared as expected, but then after the trainer disappeared, this error popped up:

MBDError.png


After I clicked "OK", the battle continued, but the databoxes were gone.

MBD_PostError.png
 

grogro

Novice
Member
Joined
Mar 6, 2021
Posts
40
Age
26
interesting, to be honest, I didn't test the single line commands like this.
Until a solution is found, you can comment this line. (line 1107 where the game crash) Idk why it's here and how to properly solve it yet

Replace line 1107 (or 1106 for you, Idk why I have one more line in the new version) by
scene.sprites["trainer_1"].setBitmap(GameData::TrainerType.front_sprite_filename(battle.opponent[0].trainer_type)) if !battle.wildBattle?

The download has been updated with the corrected version
 
Last edited:
Top