Jump to content

TheShadowWalke

Member
  • Posts

    26
  • Joined

  • Last visited

Posts posted by TheShadowWalke

  1. Decompress? I'm guessing you are saying extracting the rom into a/0/....

    I can't say you are the first though, since the world is very big :)

    Anyway, the No EXP Gain has been fixed, you just have to edit the HEX code of the game:

    1- Download the clean ROM, extract.

    2- Download the patch program (http://www.mediafire.com/?g0otw2nyw2m), extract.

    3- Open the patch program (RRPATCH)

    4- Open the clean ROM.

    5- Copy/paste the code below.

    6- Click RUN, wait and then click OK.

    7- Use the .nds file, not the .nds.bak.

    8- Works for me (White, Akaio)

    Pokemon White [CAA820CB]

    00004600: AA 8D DA 4A F3 D0 57 1F 34 87 33 C2 59 40 4B F1 → 3C 00 9F E5 00 10 90 E5 38 20 9F E5 02 00 51 E1

    00004610: 45 DA 2C 22 F6 5F 86 C8 3B 0A 61 6B DB F8 16 3F → 34 10 9F 05 08 10 80 05 48 11 80 05 2C 10 9F 05

    00004620: 4B 88 6B 92 C0 E8 D9 BE B8 3C 09 CB EC 23 06 7A → A8 10 80 05 E8 11 80 05 24 00 9F E5 00 10 90 E5

    00004630: A6 10 14 D7 B7 E3 BE EC 8E AE 81 2F 5E FB CC 60 → 20 20 9F E5 02 00 51 E1 01 10 A0 03 0A 10 C0 05

    00004640: 8D 72 D5 FA 06 DF 70 47 FC 94 11 0E 39 15 0F 71 → 1E FF 2F E1 84 80 18 02 4F 03 5F E1 37 B3 AA 36

    00004650: 17 18 2F 1A 6B 2D A5 AF CA D9 2F DC → 6A E0 AA 36 80 0C 18 02 1F FF AA 28

    00004EA4: 1E FF 2F E1 → D5 FD FF EA

    Pokemon Black [CA679BAF]

    00004660: EF AE AB 77 31 8D DC 7C 8D 12 33 06 68 5F 37 CF → 3C 00 9F E5 00 10 90 E5 38 20 9F E5 02 00 51 E1

    00004670: AF BD E6 D2 9E A1 35 BE 09 E5 38 F6 76 43 91 53 → 34 10 9F 05 08 10 80 05 48 11 80 05 2C 10 9F 05

    00004680: 0F 9A 8C 08 A0 5B C8 2D 0C 48 F5 0D 91 40 EA 6E → A8 10 80 05 E8 11 80 05 24 00 9F E5 00 10 90 E5

    00004690: 19 70 F6 3C 7B E1 D6 72 F7 76 40 09 00 83 7A E4 → 20 20 9F E5 02 00 51 E1 01 10 A0 03 0A 10 C0 05

    000046A0: 95 D4 AB CD ED 48 07 0D FC 96 F0 74 BB 77 A2 87 → 1E FF 2F E1 64 80 18 02 4F 03 5F E1 37 B3 AA 36

    000046B0: C4 D0 04 F7 DA B0 3F F3 D1 47 3D 7E → 6A E0 AA 36 60 0C 18 02 1F FF AA 28

    00004EA4: 1E FF 2F E1 → ED FD FF EA

    Btw, how did you play BW in your flashcard, and what's your flashcard? O.o

  2. I want to edit the rom POKEMON HEART GOLD

    here's what I want to change

    -graphics of female hero

    -graphics of Brendan (female hero friend)

    -Name of Brendan

    -sprite of Brendan and female hero

    ._. that is all I want to change but I have NO idea where to start with this stuff

    if it helps I am running a windows 7, 64 bit ....

    so could someone tell me step by step what I need to do? ._.;; even if you just help me with one of these it'll be a great help

    and I apologize ahead of time if this post is incorrect in any way I tend to mess up lots on forums ._.;;

    I thought male hero of HGSS was Ethan? O.o

    Anyways if you want to change the graphics go search for KazoWAR in youtube.

  3. EDIT: I added a new script at the bottom of this post.

    Hi guys, this is my first tutorial so sorry for mistakes :(

    Anyways, like the title says, it's about Pokemon Trainer Battle Scripting. So far I only know it works for HG/SS. If you want to use in Platinum or D/P, feel free to try and please tell me if it works.

    On to the tutorial. Here are the tools you need:

    PPRE

    A Pokemon HeartGold or SoulSilver Rom(not sure if it's workable in patched roms)

    DeSmuME

    A Lua Script. File at Attached Files.

    Once you've downloaded the things needed, put your HG/SS rom into PPRE's folder. Then open up PPRE and click on choose rom. Select your rom and click Set Rom.

    1.png

    Then command prompt should appear. PPRE is extracting your rom now.

    2.png

    Once PPRE has finished, click on Trainers.

    3.png

    Once you opened up Trainers, select a random trainer from the list. Edit the Trainer's information now(Number of Pokemon he/she had and so on). Once you changed the number of Pokemon, click another trainer from the list and go back to the trainer you edited to see that the number of Pokemon had changed. NOTE: I can't seem to edit the Trainer's name, so I used an older version of PPRE, which worked. However, the Pokemon's level is maximum 99 and I cant save my scripts using that.

    After you've edited the Trainer, TAKE NOTE OF THE NUMBER BESIDE HIS/HER NAME. IT'S VERY IMPORTANT. For me it's 24.

    4.png

    Save your changes afterwards.

    Next, go to Maps and choose the map you want. For me I'm going to use Cianwood City Gym.

    Go to the Events tab and click on Overworlds. See the number at the top right corner? That's the number of overworlds. Click on the up arrow to increase the number of overworlds.

    You might see a new tab now. Type in the ID of the overworld, which is this:

    5.png

    Now type in the sprite. The values for them are here:

    000 = Soul Silver Hero Male

    001 = Little Boy (Platinum)

    002 = Little Girl (Platinum)

    003 = Male School Kid (Platinum)

    004 = Youngster (Platinum)

    005 = Bug Catcher (Platinum)

    006 = Lass (Platinum)

    007 = Battle Girl (Platinum)

    008 = School Girl (Platinum)

    009 = Generic Male (Platinum)

    00A = Rocker (Platinum)

    00B = Ace Trainer Male (Platinum)

    00C = Generic Female (Platinum)

    00D = Beauty (Platinum)

    00E = Ace Trainer Female (Platinum)

    00F = Balding Male

    010 = Barry's Mom (Platinum)

    011 = Old Man (Platinum)

    012 = Old Woman (Platinum)

    013 = Fat Guy (Platinum)

    014 = Hiker

    015 = Biking Male Hero

    016 = Reporter (Platinum)

    017 = Camera Man (Platinum)

    018 = Store clerk 1

    019 = Store Clerk 2

    01A = FREEZE

    01B = FREEZE

    01C = FREEZE

    01D = Male Scientist (Platinum)

    01E = Female Scientist (Platinum)

    01F = Rough Neck (Platinum)

    020 = FREEZE

    021 = Female Skiier (Platinum)

    022 = Officer (Platinum)

    023 = Idol (Platinum)

    024 = Gentleman (Platinum)

    025 = Socialite (Platinum)

    026 = Male Biker (Platinum)

    027 = Female Biker (Platinum)

    028 = Engineer (Platinum)

    029 = Farmer (Platinum)

    02A = Cowgirl (Platinum)

    02B = Clown (Platinum)

    02C = Artist (Platinum)

    02D = Athlete Male (Platinum)

    02E = FREEZE

    02F = FREEZE

    030 = FREEZE

    031 = FREEZE

    032 = Ruin Maniac (Platinum)

    033 = Black Belt (Platinum)

    034 = Picnic Boy (Platinum)

    035 = Picnic Girl (Platinum)

    036 = Fisherman

    037 = Parasol Girl (Platinum)

    038 = Sailor

    039 = FREEZE

    03A = FREEZE

    03B = Waiter (Platinum)

    03C = Waitress (Platinum)

    03D = FREEZE

    03E = Rich Boy (Platinum)

    03F = Rich Girl (Platinum)

    040 = FREEZE

    041 = FREEZE

    042 = FREEZE

    043 = FREEZE

    044 = Blizzard Ace Trainer Male (Platinum)

    045 = Blizzard Ace Trainer Female (Platinum)

    046 = Psychic Male (Platinum)

    047 = Pikachu (Platinum)

    048 = FREEZE

    049 = FREEZE

    04A = FREEZE

    04B = FREEZE

    04C = FREEZE

    04D = FREEZE

    04E = FREEZE

    04F = FREEZE

    050 = FREEZE

    051 = FREEZE

    052 = FREEZE

    053 = FREEZE

    054 = Strength Boulder (Platinum)

    055 = Rock Smash Rock (Platinum)

    056 = Cut Bush (Platinum)

    057 = Item Pokeball

    058 = FREEZE

    059 = FREEZE

    05A = FREEZE

    05B = FREEZE

    05C = FREEZE

    05D = FREEZE

    05E = FREEZE

    05F = FREEZE

    060 = FREEZE

    061 = Soul Silver Hero Female

    062 = Biking Soul Silver Hero Female

    063 = Professor Elm

    064 = FREEZE

    065 = FREEZE

    066 = FREEZE

    067 = FREEZE

    068 = FREEZE

    069 = FREEZE

    06A = FREEZE

    06B = FREEZE

    06C = FREEZE

    06D = FREEZE

    06E = FREEZE

    06F = FREEZE

    070 = FREEZE

    071 = FREEZE

    072 = FREEZE

    073 = FREEZE

    074 = FREEZE

    075 = FREEZE

    076 = FREEZE

    077 = FREEZE

    078 = FREEZE

    079 = FREEZE

    07A = FREEZE

    07B = FREEZE

    07C = FREEZE

    07D = FREEZE

    07E = Roark

    07F = Gardenia

    080 = Crasher Wake

    081 = Maylene

    082 = Fantina

    083 = Candice

    084 = Byron

    085 = Volkner

    086 = FREEZE

    087 = FREEZE

    088 = FREEZE

    089 = FREEZE

    08A = FREEZE

    08B = FREEZE

    08C = FREEZE08D = Cheryl

    08E = Riley

    08F = Marley

    090 = Buck

    091 = Mira

    092 = School Boy (HG/SS)

    093 = FREEZE

    094 = Rival (Silver)

    095 = FREEZE

    096 = FREEZE

    097 = FREEZE

    098 = FREEZE

    099 = FREEZE

    09A = FREEZE

    09B = FREEZE

    09C = FREEZE

    09D = FREEZE

    09E = FREEZE

    09F = FREEZE

    0A0 = FREEZE

    0A1 = FREEZE

    0A2 = FREEZE

    0A3 = FREEZE

    0A4 = FREEZE

    0A5 = FREEZE

    0A6 = FREEZE

    0A7 = FREEZE

    0A8 = Gym Stalker Guy (HEYA FUTURE CHAMP!)

    0A9 = Tower Tycoon Paulmer

    0AA = FREEZE

    0AB = FREEZE

    0AC = FREEZE

    0AD = FREEZE

    0AE = FREEZE

    0AF = Pokemon Mansion Maid (Platinum)

    0B0 = Diamond/Pearl Hero Male Holding Up Pokeball

    0B1 = Diamond/Pearl Hero Female Holding Up Pokeball

    0B2 = Soul Silver Hero Male Kneeling

    0B3 = Soul Silver Hero Female Kneeling

    0B4 = Diamond/Pearl Hero Male Watering Berries

    0B5 = Diamond/Pearl Hero Female Watering Berries

    0B6 = FREEZE

    0B7 = Book

    0B8 = FREEZE

    0B9 = FREEZE

    0BA = FREEZE

    0BB = FREEZE

    0BC = Soul Silver Hero Male Fishing

    0BD = Soul Silver Hero Female Fishing

    0BE = FREEZE

    0BF = FREEZE

    0C0 = FREEZE

    0C1 = Green Mystery Gift Man

    0C2 = FREEZE

    0C3 = FREEZE

    0C4 = Diamond/Pearl Hero Male Checking Watch

    0C5 = Diamond/Pearl Hero Female Checking Watch

    0C6 = Soul Silver Hero Male Kneeling

    0C7 = Soul Silver Hero Female Kneeling

    0C8 = Soul Silver Hero Male Handing Pokeballs

    0C9 = Soul Silver Hero Female Handing Pokeballs

    0CA = FREEZE

    0CB = FREEZE

    0CC = FREEZE

    0CD = FREEZE

    0CE = FREEZE

    0CF = FREEZE

    0D0 = FREEZE

    0D1 = FREEZE

    0D2 = Ruins Of Alph Wall

    0D3 = Red

    0D4 = FREEZE

    0D5 = FREEZE

    0D6 = FREEZE

    0D7 = FREEZE

    0D8 = FREEZE

    0D9 = FREEZE

    0DA = Thief

    0DB = Shrine Woman With Candles

    0DC = Sprout Tower Monk

    0DD = Female Rocket

    0DE = Male Rocket

    0DF = Rocket Executive Athena

    0E0 = Rocket Leader Apollo

    0E1 = Male Snowboarder

    0E2 = FREEZE

    0E3 = Pyro-Maniac

    0E4 = FREEZE

    0E5 = Biker

    0E6 = FREEZE

    0E7 = FREEZE

    0E8 = Kimono Woman

    0E9 = Kurt

    0EA = Clefairy Doll

    0EB = Bill

    0EC = SS Aqua Captain

    0ED = Red Gyarados

    0EE = Diamond/Pearl Hero Male

    0EF = Diamond/Pearl Hero Female

    0F0 = FREEZE

    0F1 = FREEZE

    0F2 = FREEZE

    0F3 = FREEZE

    0F4 = FREEZE

    0F5 = FREEZE

    0F6 = FREEZE

    0F7 = FREEZE

    0F8 = Soul Silver Hero Dancing?

    0F9 = Soul silver Female Dancing?

    0FA = Shrine Woman Without Candles

    0FB = Other Part of a Door (Left)

    0FC = Other Part of a Door (Right)

    0FD = Crate

    0FE = Magnet Train Support Beam

    0FF = Magnet Train Support Beam

    100 = Part of a Door

    101 = Part of another Door

    102 = Rocket Soul Silver Hero Male

    103 = Rocket Soul Silver Hero Female

    104 = Rocket Male Hero Handing Pokeballs to Nurse Joy

    105 = Rocket Female Hero Handing Pokeballs to Nurse Joy

    106 = ??? Apricorn Tree

    107 = Red Apricorn Tree

    108 = Yellow Apricorn Tree

    109 = Blue Apricorn Tree

    10A = Green Apricorn Tree

    10B = Pink Apricorn Tree

    10C = White Apricorn Tree

    10D = Black Apricorn Tree

    10E = Red Apricorn

    10F = Yellow Apricorn

    110 = Blue Apricorn

    111 = Green Apricorn

    112 = Pink Apricorn

    113 = White Apricorn

    114 = Black Apricorn

    115 = Factory Head Thorton

    116 = Hall Matron Argenta

    117 = Castle Valet Dirach

    118 = Arcade Star Dahlia

    119 = Lady Caitlin

    11A = Green Colored Frontier Worker

    11B = Maroon Colored Frontier Worker

    11C = Battle Frontier Entrance Worker

    11D = Male Wi-Fi Plaza Worker

    11E = Female Wi-Fi Plaza Worker

    11F = Persian Statue

    120 = Golden Dresser Hiding Rocket's Secret Base

    121 = Little Boy

    122 = Door Of Some Kind

    123 = Ruins Of Alph Podium

    124 = Patch of Dirt

    125 = Rocket Admin Lambda

    126 = Rocket Admin Lance (Rocket)

    127 = Platinum Hero Male

    128 = Platinum Hero Female

    129 = Kneeling Rocket Male Hero

    12A = Kneeling Rocket Female Hero

    12B = Orange Mystery Gift Man

    12C = FREEZE

    12D = FREEZE

    12E = FREEZE

    12F = FREEZE

    130 = FREEZE

    131 = FREEZE

    132 = FREEZE

    133 = FREEZE

    134 = FREEZE

    135 = FREEZE

    136 = FREEZE

    137 = FREEZE

    138 = FREEZE

    139 = FREEZE

    13A = FREEZE13B = Little Boy (HG/SS)

    13C = Little Girl (HG/SS)

    13D = Youngster (HG/SS)

    13E = Bug Catcher (HG/SS)

    13F = Mini-Skirt

    140 = Blonde Girl With Pig Tails

    141 = Brown Haired School Girl

    142 = Brown Haired Boy

    143 = Rocker

    144 = Elite Trainer Male

    145 = Generic Woman

    146 = Beauty (HG/SS)

    147 = Elite Trainer Female

    148 = Balding Man

    149 = House Wife

    14A = Old Man (Daycare Grandpa)

    14B = Old Woman (Daycare Grandma)

    14C = Fat Guy (HG/SS)

    14D = Hiker

    14E = Store Clerk 1

    14F = Nurse Joy

    150 = Downstairs Pokecenter Clerk

    151 = HG/SS GTS Clerk

    152 = Poke-Geek

    153 = FREEZE

    154 = FREEZE

    155 = Gentleman (HG/SS)

    156 = Male Swimmer

    157 = Female Swimmer

    158 = Black Belt (HG/SS)

    159 = Picnic Boy

    15A = Picnic Girl

    15B = Fisherman

    15C = Sailor

    15D = MISSINGNO.

    15E = Gold Trophy

    15F = Psychic Male (HG/SS)

    160 = Falkner

    161 = Bugsy

    162 = Whitney

    163 = Morty

    164 = Chuck

    165 = Jasmine

    166 = Pryce

    167 = Clair

    168 = Elite 4 Will

    169 = Elite 4 Koga

    16A = Elite 4 Bruno

    16B = Elite 4 Karen

    16C = Champion Lance

    16D = Your Mother

    16E = Professor Oak

    16F = Kid Playing DS

    170 = Lt. Surge

    171 = Sabrina

    172 = Misty

    173 = Erika

    174 = Janine

    175 = Brock

    176 = Blaine

    177 = Green

    178 = Silver Trophy

    179 = PokeManiac

    17A = Juggler

    17B = Bronze Trophy

    17C = Banette

    17D = Sudowoodo Tree

    17E = Eusine

    17F = Kobushi (Pokethlon Champion)

    180 = Hajime

    181 = Giovanni

    182 = Ruins Of Alph Researcher

    183 = Sprout Tower Master

    184 = FREEZE

    185 = DJ Kurumi (DJ Mary? Pink haired DJ)

    186 = Lapras

    187 = FREEZE

    188 = Daisy

    189 = Red's Mom

    18A = Bug Catching Contest Host

    18B = ???????

    18C = Pokethlon Medal

    18D = Pokethlon Scroll

    18E = Pokethlon Shoes

    18F = Pokethlon Jacket

    190 = Pokethlon Red Flag

    191 = Pokethlon Pokegear

    192 = Pokeball In a Glass Jar

    193 = Pokethlon Self Statue Male

    194 = Pokethlon Self Statue Female

    195 = FREEZE

    196 = Ice Block

    197 = Soul Silver Hero Male Pokethlon Outfit

    198 = Soul Silver Hero Female Pokethlon Outfit

    199 = Rotom Microwave

    19A = Rotom Fan

    19B = Rotom Fridge

    19C = Rotom Washer

    19D = Rotom Mower

    19E = Slowpoke

    19F = Bulbasaur

    1A0 = ???

    1A1 = ???

    1A2 = ???

    1A3 = ???

    1A4 = ???

    1A5 = Steven Stone

    1A6 = Cynthia

    1A7 = Soul Silver Hero Male Checking Watch

    1A8 = Soul Silver Hero Female Checking Watch

    1A9 = Ho-oh

    1AA = Lugia

    1AB = Radio Station Attendant

    1AC = Bulbasaur

    1AD = Ivysaur

    1AE = Venasaur

    1AF = Venasaur

    1B0 = Charmander

    1B1 = Charmeleon

    1B2 = Charizard

    1B3 = Squirtle

    1B4 = Wartortle

    1B5 = Blastoise

    1B6 = Caterpie

    1B7 = Metapod

    1B8 = Butterfree

    1B9 = Weedle

    1BA = Kakuna

    1BB = Beedrill

    1BC = Pidgey

    1BD = Pidgeotto

    1BE = Pidgeot

    1BF = Rattata

    1C0 = Ratticate

    1C1 = Spearow

    1C2 = Fearow

    1C3 = Ekans

    1C4 = Arbok

    1C5 = Pikachu

    1C6 = Pikachu

    1C7 = Raichu

    1C8 = Sandhsrew

    1C9 = Sandslash

    1CA = Nidoran Female

    1CB = Nidorina

    1CC = Nidoqueen

    1CD = Nidoran Male

    1CE = Nidorino

    1CF = Nidoking

    1D0 = Clefairy

    1D1 = Clefable

    1D2 = Vulpix

    1D3 = Ninetails

    1D4 = Jigglypuff

    1D5 = Wigglytuff

    1D6 = Zubat

    1D7 = Golbat

    1D8 = Oddish

    1D9 = Gloom

    1DA = Vileplume

    1DB = Paras

    1DC = Parasect

    1DD = Venonat

    1DE = Venomoth

    1DF = Diglett

    1E0 = Dugtrio

    1E1 = Meowth

    1E2 = Persian

    1E3 = Psyduck

    1E4 = Golduck

    1E5 = Mankey

    1E6 = Primape

    1E7 = Growlithe

    1E8 = Arcanine

    1E9 = Poliwag

    1EA = Poliwhirl

    1EB = Poliwrath

    1EC = Abra

    1ED = Kadabra

    1EE = Alakazam

    1EF = Machop

    1F0 = Machoke

    1F1 = Machamp

    1F2 = Bellsprout

    1F3 = Weepinbell

    1F4 = Victreebel

    1F5 = Tentacool

    1F6 = Tentacruel

    1F7 = Geodude

    1F8 = Graveler

    1F9 = Golem

    1FA = Ponyta

    1FB = Rapidash

    1FC = Slowpoke

    1FD = Slowbro

    1FE = Magnemite

    1FF = Magneton

    200 = Farfetch'd

    201 = Doduo

    202 = Dotrio

    203 = Seel

    204 = Dewgong

    205 = Grimer

    206 = Muk

    207 = Shellder

    208 = Cloyster

    209 = Ghastly

    20A = Haunter

    20B = Gengar

    20C = Onix

    20D = Drowzee

    20E = Hypno

    20F = Krabby

    210 = Kingler

    211 = Voltorb

    212 = Electrode

    213 = Exeggcute

    214 = Exeggutor

    215 = Cubone

    216 = Marowak

    217 = Hitmonlee

    218 = Hitmonchan

    219 = Lickitung

    21A = Koffing

    21B = Weezing

    21C = Rhyhorn

    21D = Rhydon

    21E = Chansey

    21F = Tangela

    220 = Kangaskhan

    221 = Horsea

    222 = Seadra

    223 = Goldeen

    224 = Seaking

    225 = Staryu

    226 = Starmie

    227 = Mr. Mime

    228 = Scyther

    229 = Jynx

    22A = Electabuzz

    22B = Magmar

    22C = Pinsir

    22D = Tauros

    22E = Magikarp

    22F = Gyarados

    230 = Lapras

    231 = Ditto

    232 = Eevee

    233 = Vaporeon

    234 = Jolteon

    235 = Flareon

    236 = Porygon

    237 = Omanyte

    238 = Omastar

    239 = Kabuto

    23A = Kabutops

    23B = Aerodactyl

    23C = Snorlax

    23D = Articuno

    23E = Zapdos

    23F = Moltres

    240 = Dratini

    241 = Dragonair

    242 = Dragonite

    243 = Mewtwo

    244 = Mew

    FREEZE freezes the game when you use it.

    However, PPRE can read only Dec numbers, but these are Hex numbers. So open up Calculator, and go to the Scientific Mode for XP. I don't know what to press for the other computers so you have to figure out yourself. Go to Hex and type in the number for the sprite. Click on Dec next to get the Dec number. Write this in PPRE.

    Next for the movement. I don't really have the list for the movements(I'm too lazy to figure out :'( So if you got the list, please tell me and I will give credit.) However I do know that 15 is facing down and 20 is facing up.) Type it in the box.

    Flag... I don't really know what's that but I will figure it out sometime, probably after B/W is released.. I'm just too busy :sleeping:

    Script we will come to it later.

    Line of Sight, by the name, you probably know what's it. It's use for detection for normal trainers, like when you're walking along Viridan Forest when a trainer spot you.

    X-, Y- and Z- coordinate, pretty simple. I don't know bout Z though. Anyway, you might ask, how do we find the X and Y coordinate? Simple! Using the Lua Script, open it in DeSmuME and activate the script! Move to the spot where you want your trainer to be at and he will stand there! However the Lua Script doesn't work on Patched Roms.

    6.png

    After finding out the X and Y coordinate, type it in the boxes.

    Once you've done all these, take note of the ID of your overworld.

    Next, go to the Text tab. You will see that there's already a lot of text. Write your trainer's beginning and losing text like this:

    text_[continued number]="[text]"

    So for example I want to write this:

    Yo! This is a guide!

    And the text number is 5, I will write in PPRE this:

    text_5="Yo! This is a guide!"

    Just remember, \n is for line break and \r is for new box.

    After writing your text, note down the text numbers - both beginning and lose text. I don't know how to make the winning text activate, sorry :(

    7.png

    Now go to the Scripts text and go to Scripts. Press add script and go to the new script. Now we can begin writing our script.

    Example of Script:

    Lockall

    Faceplayer

    Message 15

    WaitButton

    CloseMsgOnKeyPress

    TrainerBattle 24 0 1

    Message 16

    WaitButton

    CloseMsgOnKeyPress

    Releaseall

    End

    Lockall starts your script. Lockall is basically the same as the script starter you use when hacking GBA games.

    Faceplayer, too, exists in GBA hacking. Just let the trainer turn to you when you talk to him/her.

    Message [number] is the text you wrote just now. [number] is the text number which I told you to note.

    WaitButton and CloseMsgOnKeyPress works together. The trainer battle will begin after you pressed A or B(WaitButton). The message will then close(CloseMsgOnKeyPress).

    TrainerBattle [number] 0 1 starts your trainer battle. [number] is the trainer number I told you to note just now. You can see why it's important now.

    Message [number] is the losing text.

    Releaseall MUST be present if you wrote Lockall. It releases the NPCs around.

    End is the ending of the script. VERY IMPORTANT.

    Now that you finished your script, save your changes.

    Go back to PPRE and type in your rom name, also remember to write in the ".nds" without the quotient marks.

    8.png

    After your rom has finished creating, open your rom and enjoy! Also if you want to edit the sprite of your trainer, I might write a tutorial on it, but it's best if you follow KazoWAR's on Youtube.

    Thanks for reading my tutorial! This is my first tutorial so I hope you would rate my skills on writing tutorials.

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Here's a completely optional part: Removing people.

    Basically, after you've finished your battle, you can make the trainer disappear.

    Here's an example of the script:

    Lockall

    Faceplayer

    Message 15

    WaitButton

    CloseMsgOnKeyPress

    TrainerBattle 82 0 1

    Message 16

    WaitButton

    CloseMsgOnKeyPress

    Applymovement 5 mov_1

    Waitmovement

    Removepeople 5

    Releaseall

    End

    The new part edited, as you can see, is

    Applymovement 5 mov_1

    Waitmovement

    Removepeople 5

    Before I go into explaining, go to Maps, choose your map and Scripts, before finally going to Movements.

    1-1.png

    Choose Add Movement. A new tab should form.

    Now, you have to write your movement. The movement format must be like this:

    [movement_name] [number_of_times]

    Movement_name is the type of movement you want your OW to move, such as the 1 I used, WalkDownNormal.

    Here's a list of the movements:

    Exclamation mark on top of OW(Like when trainer spots you)

    Exclaim

    Looks at a specific direction

    SeeUp

    SeeRight

    SeeDown

    SeeLeft

    Walks in a direction with fast/normal/slow speed

    WalkUpFast/Normal/Slow

    WalkRightFast/Normal/Slow

    WalkDownFast/Normal/Slow

    WalkLeftFast/Normal/Slow

    *Change accordingly*

    Does nothing, useful if you want to wait a little before the next movement command executes(I don't really know what's this, my friend got it for me

    003F

    However, according to DPP Script Commands, PPRE uses Waitfor ____

    I seriously don't know this.

    Runs in a direction

    RunUp

    RunRight

    RunDown

    RunLeft

    Jump in a direction the OW is facing.

    JumpFacingUp

    JumpFacingRight

    JumpFacingDown

    JumpFacingLeft

    Jumps one/two step in a specific direction(Don't really know if it works for HGSS)

    JumpUpOne/Two

    JumpRightOne/Two

    JumpDownOne/Two

    JumpLeftOne/Two

    *Change accordingly*

    Pause for a while before walking in a specific direction in fast/normal/slow

    PauseWalkUpFast/Normal/Slow

    PauseWalkRightFast/Normal/Slow

    PauseWalkDownFast/Normal/Slow

    PauseWalkLeftFast/Normal/Slow

    *Change accordingly*

    Number of times is the number of steps you want your OW to move. Pretty simple, you should understand.

    Now to explain the script.

    Applymovement [OW ID] [mov_[id]] is put into your script.

    Applymovement is to apply a movement on [OW ID] which is your OW's ID, which I explained earlier at the previous post, and [mov_[id]] is the ID of your movement.

    2-1.png

    For me it's mov_1.

    Waitmovement is to wait for the movement to be finished before the OWs can be released.

    Removepeople [OW ID] is to remove the OW you assigned to. By now you should know what's [OW ID].

    So now that your movement script is finished, save your changes, write your rom and begin playing!

    ~Hope this helps!~

    LUA Script.zip

    LUA Script.zip

×
×
  • Create New...