Play as pokemon

Anuran

Novice
Member
Joined
Feb 18, 2018
Posts
40
There are some moments in my game where you need to play as one of your party Pokemon. I thought of removing this feature but I thought let's ask help in RC bcz many of my problems have been solved here. So let's get to the topic.
How can I make it such that when you interect with an Event, it checks What Pokemon you have and ask to choose a Pokemon. After you choose a Pokemon, you can now play and roam as that Pokemon. And when you interect back with the Main character you now again play as him.
 

Ulithium_Dragon

Trainer
Member
Joined
Sep 6, 2017
Posts
52
The easiest way to do that would be to make use of trainer outfits. I.e. "trchar000_1". I've created sequences for my own game where you play as a Pokemon by doing this. Just set up a character sprite sheet for the Pokemon you want to use, and give it an outfit ID for your player character's overworld sprite ID (by default this is trchar000 for the Male PC, and trchar001 for the Female PC).

Once you've done that, you can run a simple script from the event that will change the player's outfit into the "Pokemon":
Code:
$Trainer.outfit = 1
...where "1" is the ID you gave your outfit file.

Here's an example of what I mean. This is a Kabutops outfit sprite I used:

In my game, the file is named "trchar000_141", so to call it with a script I use "$Trainer.outfit = 141".

Note that to restore the player's original sprite, you will need to use "$Trainer.outfit = 0".
 

Anuran

Novice
Member
Joined
Feb 18, 2018
Posts
40
The easiest way to do that would be to make use of trainer outfits. I.e. "trchar000_1". I've created sequences for my own game where you play as a Pokemon by doing this. Just set up a character sprite sheet for the Pokemon you want to use, and give it an outfit ID for your player character's overworld sprite ID (by default this is trchar000 for the Male PC, and trchar001 for the Female PC).

Once you've done that, you can run a simple script from the event that will change the player's outfit into the "Pokemon":
Code:
$Trainer.outfit = 1
...where "1" is the ID you gave your outfit file.

Here's an example of what I mean. This is a Kabutops outfit sprite I used:

In my game, the file is named "trchar000_141", so to call it with a script I use "$Trainer.outfit = 141".

Note that to restore the player's original sprite, you will need to use "$Trainer.outfit = 0".
Oh by outfits.
But there is problem with that. It is that the player itself will get transformed to the pokemon and such the player won't be visible al all.
 

Ulithium_Dragon

Trainer
Member
Joined
Sep 6, 2017
Posts
52
Oh by outfits.
But there is problem with that. It is that the player itself will get transformed to the pokemon and such the player won't be visible al all.
Create an event on the map and assign it the player's sprite. When the real player transforms into a pokemon, use a switch to change the event page to the dummy player.
 
Top