From cd904b27f586964fc9d13d37aee95be4f5f5e5cb Mon Sep 17 00:00:00 2001 From: Haven1433 Date: Sat, 5 Mar 2022 22:46:13 -0600 Subject: [PATCH] XSE was wrong, command 0x7B is for setting moves, not setting pp --- src/HexManiac.Core/Models/Code/scriptReference.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HexManiac.Core/Models/Code/scriptReference.txt b/src/HexManiac.Core/Models/Code/scriptReference.txt index 4b17de7e..50ebb30c 100644 --- a/src/HexManiac.Core/Models/Code/scriptReference.txt +++ b/src/HexManiac.Core/Models/Code/scriptReference.txt @@ -178,7 +178,7 @@ # 800D=2 if there was no room # 4037=? number of the PC box the pokemon was sent to, if it was boxed? 7A giveEgg species: -7B setpkmnpp pokemonSlot. attackSlot. ppAmount: # set a given pokemon in your party to have a 'ppAmount' pp for a move +7B setmonmove pokemonSlot. attackSlot. newMove:data.pokemon.moves.names # set a given pokemon in your party to have a specific move. Slots range 0-4 and 0-3. 7C checkattack move: # 800D=n, where n is the index of the pokemon that knows the move. # 800D=6, if no pokemon in your party knows the move # if successful, 8004 is set to the pokemon species