mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 22:54:59 +00:00
Moved all settings into module Settings
This commit is contained in:
@@ -5,15 +5,15 @@ module PokeBattle_SceneConstants
|
||||
MESSAGE_SHADOW_COLOR = Color.new(160, 160, 168)
|
||||
|
||||
# The number of party balls to show in each side's lineup.
|
||||
NUM_BALLS = MAX_PARTY_SIZE
|
||||
NUM_BALLS = Settings::MAX_PARTY_SIZE
|
||||
|
||||
# Centre bottom of the player's side base graphic
|
||||
PLAYER_BASE_X = 128
|
||||
PLAYER_BASE_Y = SCREEN_HEIGHT - 80
|
||||
PLAYER_BASE_Y = Settings::SCREEN_HEIGHT - 80
|
||||
|
||||
# Centre middle of the foe's side base graphic
|
||||
FOE_BASE_X = SCREEN_WIDTH - 128
|
||||
FOE_BASE_Y = (SCREEN_HEIGHT * 3 / 4) - 112
|
||||
FOE_BASE_X = Settings::SCREEN_WIDTH - 128
|
||||
FOE_BASE_Y = (Settings::SCREEN_HEIGHT * 3 / 4) - 112
|
||||
|
||||
# Returns where the centre bottom of a battler's sprite should be, given its
|
||||
# index and the number of battlers on its side, assuming the battler has
|
||||
|
||||
Reference in New Issue
Block a user