mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Added Debug menu functions, rearranged Debug menu more, fixed Pokémon sprite not refreshing when changing its held item in its summary screen
This commit is contained in:
@@ -22,7 +22,7 @@ class Battle::Scene
|
||||
# 1 = regular battle with "Cancel"
|
||||
# 2 = regular battle with "Call" (for Shadow Pokémon battles)
|
||||
# 3 = Safari Zone
|
||||
# 4 = Bug Catching Contest
|
||||
# 4 = Bug-Catching Contest
|
||||
def pbCommandMenuEx(idxBattler, texts, mode = 0)
|
||||
pbShowWindow(COMMAND_BOX)
|
||||
cw = @sprites["commandWindow"]
|
||||
|
||||
@@ -108,7 +108,7 @@ class Battle::Scene::CommandMenu < Battle::Scene::MenuBase
|
||||
[0, 2, 1, 9], # 1 = Regular battle with "Cancel" instead of "Run"
|
||||
[0, 2, 1, 4], # 2 = Regular battle with "Call" instead of "Run"
|
||||
[5, 7, 6, 3], # 3 = Safari Zone
|
||||
[0, 8, 1, 3] # 4 = Bug Catching Contest
|
||||
[0, 8, 1, 3] # 4 = Bug-Catching Contest
|
||||
]
|
||||
|
||||
def initialize(viewport, z)
|
||||
@@ -450,7 +450,7 @@ class Battle::Scene::TargetMenu < Battle::Scene::MenuBase
|
||||
[0, 2, 1, 9], # 1 = Regular battle with "Cancel" instead of "Run"
|
||||
[0, 2, 1, 4], # 2 = Regular battle with "Call" instead of "Run"
|
||||
[5, 7, 6, 3], # 3 = Safari Zone
|
||||
[0, 8, 1, 3] # 4 = Bug Catching Contest
|
||||
[0, 8, 1, 3] # 4 = Bug-Catching Contest
|
||||
]
|
||||
CMD_BUTTON_WIDTH_SMALL = 170
|
||||
TEXT_BASE_COLOR = Color.new(240, 248, 224)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#===============================================================================
|
||||
# Bug Catching Contest battle scene (the visuals of the battle)
|
||||
# Bug-Catching Contest battle scene (the visuals of the battle)
|
||||
#===============================================================================
|
||||
class Battle::Scene
|
||||
alias _bugContest_pbInitSprites pbInitSprites unless method_defined?(:_bugContest_pbInitSprites)
|
||||
@@ -27,7 +27,7 @@ class Battle::Scene
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
# Bug Catching Contest battle class
|
||||
# Bug-Catching Contest battle class
|
||||
#===============================================================================
|
||||
class BugContestBattle < Battle
|
||||
attr_accessor :ballCount
|
||||
|
||||
Reference in New Issue
Block a user