mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-18 03:35:56 +02:00
Merge pull request #955 from ShaneMcGovernIE/shanemcgovernie-issue-945-cannot-edit-trainer-class-s-battle-theme-ad701b
Honor trainer battleTheme override (fixes #945)
This commit is contained in:
@@ -577,6 +577,9 @@ R.trainers = {
|
||||
aiMods = f.opt(f.any),
|
||||
aiClass = f.opt(f.id("ai_classes")),
|
||||
brain = f.opt(f.fn),
|
||||
-- Per-trainer battle theme (an audio.songs id): overrides the
|
||||
-- kind-based default (wild/trainer/gym/final) for this trainer's
|
||||
-- battles. The victory jingle stays kind-based.
|
||||
battleTheme = f.opt(f.id("music")),
|
||||
},
|
||||
example = 'mod.content.trainers:patch("OPP_BROCK", { baseMoney = 99 })',
|
||||
|
||||
Reference in New Issue
Block a user