- 84
- Posts
- 4
- Years
- Seen Apr 21, 2025
Hello everybody
i am making a firered hack and i am pretty much at the end of it, i am testing it out and correcting any minor error i might find but i encountered an issue i seem to have no idea how to resolve
i placed some trainers outside victory road on route 23, on the way where the npc asks you the gym badges
everything works fine, both battles and sentences
everything is ok untill you get to victory road and (for any reason) you white out
when you do so, the first 3 trainers just resets and fights you again
but only the first 3 while all the others behave normally just sitting there already defeated
this is pretty strange since it NEVER happened in any other point in the game
i made those trainers the same as every single other trainer in the whole ROM and they reactivate only if you white out...
these are the lines for the three trainers (i changes only WHAT they say for...spoiler reasons :P)
i'll add one of the other trainers present on the same route that works fine and don't reset, only to show that it's coded the same
i am making a firered hack and i am pretty much at the end of it, i am testing it out and correcting any minor error i might find but i encountered an issue i seem to have no idea how to resolve
i placed some trainers outside victory road on route 23, on the way where the npc asks you the gym badges
everything works fine, both battles and sentences
everything is ok untill you get to victory road and (for any reason) you white out
when you do so, the first 3 trainers just resets and fights you again
but only the first 3 while all the others behave normally just sitting there already defeated
this is pretty strange since it NEVER happened in any other point in the game
i made those trainers the same as every single other trainer in the whole ROM and they reactivate only if you white out...
these are the lines for the three trainers (i changes only WHAT they say for...spoiler reasons :P)
Spoiler:
'---------------
#org 0x74125C
trainerbattle 0x0 0x2E5 0x0 0x8741273 0x87413AE
msgbox 0x8741438 MSG_NORMAL '"sentence"
end
'---------
' Strings
'---------
#org 0x741273
= sentence 1
#org 0x7413AE
= sentence 2
#org 0x741438
= sentence 3
#org 0x74125C
trainerbattle 0x0 0x2E5 0x0 0x8741273 0x87413AE
msgbox 0x8741438 MSG_NORMAL '"sentence"
end
'---------
' Strings
'---------
#org 0x741273
= sentence 1
#org 0x7413AE
= sentence 2
#org 0x741438
= sentence 3
Spoiler:
'---------------
#org 0x741449
trainerbattle 0x0 0x2E4 0x0 0x8741460 0x874149F
msgbox 0x87414A5 MSG_NORMAL '"..."
end
'---------
' Strings
'---------
#org 0x741460
= sentence 1
#org 0x74149F
= sentence 2
#org 0x7414A5
= ...
#org 0x741449
trainerbattle 0x0 0x2E4 0x0 0x8741460 0x874149F
msgbox 0x87414A5 MSG_NORMAL '"..."
end
'---------
' Strings
'---------
#org 0x741460
= sentence 1
#org 0x74149F
= sentence 2
#org 0x7414A5
= ...
Spoiler:
'---------------
#org 0x7414A9
trainerbattle 0x0 0x2E3 0x0 0x87414C0 0x8741519
msgbox 0x874152D MSG_NORMAL '"sentence 3"
end
'---------
' Strings
'---------
#org 0x7414C0
= sentence 1
#org 0x741519
= sentence 2
#org 0x74152D
= sentence 3
#org 0x7414A9
trainerbattle 0x0 0x2E3 0x0 0x87414C0 0x8741519
msgbox 0x874152D MSG_NORMAL '"sentence 3"
end
'---------
' Strings
'---------
#org 0x7414C0
= sentence 1
#org 0x741519
= sentence 2
#org 0x74152D
= sentence 3
i'll add one of the other trainers present on the same route that works fine and don't reset, only to show that it's coded the same
Spoiler:
'---------------
#org 0x7405B9
trainerbattle 0x0 0x2E2 0x0 0x87405D0 0x87405E6
msgbox 0x87405F6 MSG_NORMAL '"sentence"
end
'---------
' Strings
'---------
#org 0x7405D0
= Sentence 1
#org 0x7405E6
= sentence 2[.]
#org 0x7405F6
= sentence
#org 0x7405B9
trainerbattle 0x0 0x2E2 0x0 0x87405D0 0x87405E6
msgbox 0x87405F6 MSG_NORMAL '"sentence"
end
'---------
' Strings
'---------
#org 0x7405D0
= Sentence 1
#org 0x7405E6
= sentence 2[.]
#org 0x7405F6
= sentence