Kuribo64
Views: 19,996,850 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
04-20-24 02:44 AM
Guest:

0 users reading pokemon firered custom trainers not working | 1 bot

Main - Misc. ROM hacking - pokemon firered custom trainers not working Hide post layouts | New reply


meme_man64
Posted on 09-01-17 01:25 PM Link | #87616
So i started working on my pokemon hack again and i found this problem with all trainers i made, Nothing is woking

the steps i took:
1. opens hopeless trainer editor and makes trainer
2. get the ID
3. open pksv and generate trainer script
3,5. input the correct id
4. write in things he says and all that
5. compile and get script offset
6. open advance map and add new trainer
6,5. hive him script offset and check on trainer box
7. once he sees me game crashes

Help!

Skek
Posted on 09-01-17 07:56 PM Link | #87660
Can I see your script?


____________________
My shit Youtube: Link
My discord: Link

meme_man64
Posted on 09-02-17 08:48 AM Link | #87681
Posted by Skek
Can I see your script?

yeah sure but i don't have access to my computer right now so i'll send my script tomorrow

meme_man64
Posted on 09-03-17 01:32 PM Link | #87732
Posted by Skek
Can I see your script?

#dyn 0x740000
#org @begin
trainerbattle 0x0 0x04D 0x0 @intro @defeat
msgbox @afterwards
callstd msg_normal
end
#org @intro
= I will crush you!!!

#org @defeat
= You crushed me[.]

#org @afterwards
= I can also say something after the battle

Skek
Posted on 09-03-17 06:18 PM (rev. 2 of 09-03-17 06:19 PM) Link | #87752
Try this:

#dynamic 0x800000
#org @start

trainerbattle 0x0 0x04D 0x0 @intro @defeat
msgbox @afterwards 0x6
release
end

#org @intro
= I will crush you!!!

#org @defeat
= You crushed me[.]

#org @afterwards
= Kudos to Skek my dude!

This code was made in XSE, which is definetly the best scripting program.
With this code in the game, you will be something like this, depending on how you set up your trainer:


Also I used UTE, or Unnamed Trainer Editor, because I find it easier to use.

Also, this thread helps a huge amount when scripting, and I reference it whenever I forget something: https://www.pokecommunity.com/showthread.php?t=164276

Also, remember to check the "Trainer" box in Advance Map. View Radius is not necessary, but I used it in the video. And I used the "Champion" trainer class so the music and screen effects played.

Hope I helped! :D

____________________
My shit Youtube: Link
My discord: Link

meme_man64
(post deleted) #87796

meme_man64
Posted on 09-04-17 02:31 PM Link | #87798
Posted by Skek
Try this:

#dynamic 0x800000
#org @start

trainerbattle 0x0 0x04D 0x0 @intro @defeat
msgbox @afterwards 0x6
release
end

#org @intro
= I will crush you!!!

#org @defeat
= You crushed me[.]

#org @afterwards
= Kudos to Skek my dude!

This code was made in XSE, which is definetly the best scripting program.
With this code in the game, you will be something like this, depending on how you set up your trainer:


Also I used UTE, or Unnamed Trainer Editor, because I find it easier to use.

Also, this thread helps a huge amount when scripting, and I reference it whenever I forget something: https://www.pokecommunity.com/showthread.php?t=164276

Also, remember to check the "Trainer" box in Advance Map. View Radius is not necessary, but I used it in the video. And I used the "Champion" trainer class so the music and screen effects played.

Hope I helped! :D
Actually it did not the error says 101C101C.
there is also something that it triggers the tile before (so like normally the trainer notices you when you are right in front of you but i am only a quarter on the actual tile)
i don't know what i did wrong but maybe it lies here:
- maybe i am inputting the wrong script (when i compile it i input the code of @start)
- maybe i am doing it wrong so i first open my rom then make the script and then click on compile

please help!

Skek
Posted on 09-04-17 09:37 PM Link | #87816
Posted by meme_man64
Actually it did not the error says 101C101C.
there is also something that it triggers the tile before (so like normally the trainer notices you when you are right in front of you but i am only a quarter on the actual tile)
i don't know what i did wrong but maybe it lies here:
- maybe i am inputting the wrong script (when i compile it i input the code of @start)
- maybe i am doing it wrong so i first open my rom then make the script and then click on compile

please help!


1: the offset of @start is correct
2: Make sure you selected you saved your code somewhere. When using the batch compiler, you also need to select your rom file, and then the folder with your scripts. Make sure to compile only the script you want (Remember that this is for XSE, don't know how it is on other programs).

You can also see if it works by pressing the "Open Script" button (or something like that) and seeing if your script appears (it will look a little different though).


____________________
My shit Youtube: Link
My discord: Link


Main - Misc. ROM hacking - pokemon firered custom trainers not working Hide post layouts | New reply

Page rendered in 0.037 seconds. (2048KB of memory used)
MySQL - queries: 27, rows: 211/211, time: 0.014 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.