- 276
- Posts
- 16
- Years
- Unova
- Seen May 14, 2025
I am trying to add marks on Pokemon like in Sword and Shield so some Pokemon will have a title when being sent into battle.
The idea is to give Pokemon a new variable called "marked" ranging between 0-45, where 0 means the Pokemon does not have a mark and will not receive a upon entering battle. I.E. "Go! Pikachu!"
and every number after 0 has it's own title. I.E. mark 3 "Go! Mankey the Pompous!" or mark 7 "Go! Snorlax the Apathetic!"
I have added marked as a accessor in PokeBattle_Pokemon and defined it by coping markings, but when I check if a Pokemon is marked when I enter a battle I get the message "undefined method marked".
I seem to be missing a step somewhere can anyone help me figure it out?
The idea is to give Pokemon a new variable called "marked" ranging between 0-45, where 0 means the Pokemon does not have a mark and will not receive a upon entering battle. I.E. "Go! Pikachu!"
and every number after 0 has it's own title. I.E. mark 3 "Go! Mankey the Pompous!" or mark 7 "Go! Snorlax the Apathetic!"
I have added marked as a accessor in PokeBattle_Pokemon and defined it by coping markings, but when I check if a Pokemon is marked when I enter a battle I get the message "undefined method marked".
I seem to be missing a step somewhere can anyone help me figure it out?