McPaul
On my way to become a controversial and hated memb
- 289
- Posts
- 7
- Years
- He/ Him
- Switzerland
- Seen Apr 20, 2025
Hey yo!
I made some trainers in my hack, and evrything works smooth except for THIS ONE trainer, which keeps having the same overworld sprite model as the player, and changes along it (becomes Lapras when surfing, riding Bicycle whenever I do).
I don't know what's the problem with this one since I made other trainers of the same type (model, trainer class, etc.) and they show correctly. It's just this one.
Here is the code:
const RUINSOFALPHOUTSIDE_COOLTRAINER_F
TrainerHunterFRose:
trainer HUNTERF, ROSE, EVENT_BEAT_HUNTERF_ROSE, HunterFRoseSeenText, HunterFRoseBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext HunterFRoseAfterBattleText
waitbutton
closetext
end
HunterFRoseSeenText:
text "I heard there was"
line "a rare #MON at"
cont "the LAKE OF RAGE."
done
HunterFRoseBeatenText:
text "Oh no! Why did I"
line "lose?"
done
HunterFRoseAfterBattleText:
text "LAKE OF RAGE is"
line "located north from"
cont "MAHOGANY TOWN."
para "It seems there is"
line "some strange event"
cont "occuring there."
done
object_event 8, 30, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 2, TrainerHunterFRose, -1
But I don't think it shows any problem as I made similar scripts and everything went fine.
Can maybe someone help me with this one please? Thanks a lot in advance!
I made some trainers in my hack, and evrything works smooth except for THIS ONE trainer, which keeps having the same overworld sprite model as the player, and changes along it (becomes Lapras when surfing, riding Bicycle whenever I do).
I don't know what's the problem with this one since I made other trainers of the same type (model, trainer class, etc.) and they show correctly. It's just this one.
Here is the code:
const RUINSOFALPHOUTSIDE_COOLTRAINER_F
TrainerHunterFRose:
trainer HUNTERF, ROSE, EVENT_BEAT_HUNTERF_ROSE, HunterFRoseSeenText, HunterFRoseBeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext HunterFRoseAfterBattleText
waitbutton
closetext
end
HunterFRoseSeenText:
text "I heard there was"
line "a rare #MON at"
cont "the LAKE OF RAGE."
done
HunterFRoseBeatenText:
text "Oh no! Why did I"
line "lose?"
done
HunterFRoseAfterBattleText:
text "LAKE OF RAGE is"
line "located north from"
cont "MAHOGANY TOWN."
para "It seems there is"
line "some strange event"
cont "occuring there."
done
object_event 8, 30, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 2, TrainerHunterFRose, -1
But I don't think it shows any problem as I made similar scripts and everything went fine.
Can maybe someone help me with this one please? Thanks a lot in advance!
Last edited: