Main My profile Registration Log out Login
Pokemon Hacking
Saturday
20.4.2024
5:05 AM
Welcome Guest | RSS LoginRegistrationMain
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
Forum moderator: fuzzyketchup  
Forum » Tools » Pokescript » How to give Pokemon (How to give a player a pokemon)
How to give Pokemon
fuzzyketchupDate: Wednesday, 2012-10-03, 3:55 PM | Message # 1
Private
Group: Administrators
Messages: 14
Status: Offline
This is pretty self explanatorty. You'll need the stuff you've already learned to make it work properly.

#org $bulbasaur
lock
faceplayer
checkflag 0x1202
if b_true goto $done
message $1
$1 1 = Here, take this Pokemon.
boxset 6
givepokemon 1 5 0
setflag 0x1202
fanfare 0x13E
release
end

#org $done
lock
faceplayer
message $2
$2 1 = Take care of my old Pokemon!
boxset 6
release
end

Here is a list of all the Pokemon Hex

The only thing new here is the command givepokemon 1 5 0
givepokemon 1 5 0 is actually very simple. The command givepokemon gives a Pokemon. The 1 5 0 is telling the game to give the Pokemon Hex 1 (Bulbasaur) at level 5 holding item 0 (nothing).
The flags just tell the game if the player tries to talk to the trainer again it will say "Take care of my old Pokemon!"
fanfare 0x13E is just a little jingle that plays when you get a Pokemon in the real game.


Creator of http://pkmnhacking.ucoz.com

 
Forum » Tools » Pokescript » How to give Pokemon (How to give a player a pokemon)
  • Page 1 of 1
  • 1
Search:


Copyright FuzzyketchupTuts © 2024
Create a free website with uCoz
Scratch Project