Skip to content

Add background etc to stationed pokemon#319

Merged
Fabio1988 merged 1 commit intoUnownHash:mainfrom
Mygod:stationed-bg
Nov 24, 2025
Merged

Add background etc to stationed pokemon#319
Fabio1988 merged 1 commit intoUnownHash:mainfrom
Mygod:stationed-bg

Conversation

@Mygod
Copy link
Contributor

@Mygod Mygod commented Nov 20, 2025

No description provided.

@Mygod
Copy link
Contributor Author

Mygod commented Nov 20, 2025

Other spots still read PokemonDisplay without ever touching LocationCard/background:

  • decoder/pokemon.go:570,625,658,1199,1230 – all wild/map/nearby/encounter flows via setPokemonDisplay only store form/costume/gender/weather/strong (no background field exists on Pokemon yet). (Addition of background prop to pokemon #312)
  • decoder/gym.go:280+ – raid boss display is copied (form/alignment/gender/costume/temp evo) but background is ignored.
  • decoder/station.go:174+ – BattleDetails.BattlePokemon.PokemonDisplay maps form/costume/gender/alignment/bread mode without background.
  • decoder/incident.go:180+ – rocket lineups pull PokemonDisplay.Form for slots but not background.

Aside from these, the other PokemonDisplay usages already call ExtractBackgroundFromDisplay (guard/defender displays, Pokéstop rewards/showcase entries, stationed Pokémon after your change).

@Fabio1988 Fabio1988 merged commit aaef867 into UnownHash:main Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants