mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-07-22 07:37:00 +00:00
Update 6.8
This commit is contained in:
@@ -13,4 +13,21 @@ end
|
||||
|
||||
def isPostgame?()
|
||||
return $game_switches[SWITCH_BEAT_THE_LEAGUE]
|
||||
end
|
||||
|
||||
def isPlayerBirthDate? #used only for the nurse to wish you happy birthday. The normal check needs to be deactivated before petalburg lol
|
||||
return unless $Trainer.birth_day && $Trainer.birth_month
|
||||
current_date = Time.now
|
||||
return current_date.day == $Trainer.birth_day && current_date.month == $Trainer.birth_month
|
||||
end
|
||||
|
||||
def isPlayerBirthDay?
|
||||
return false unless $game_switches[SWITCH_PETALBURG_WOODS_UNLOCKED]
|
||||
return false unless $Trainer.birth_day && $Trainer.birth_month
|
||||
current_date = Time.now
|
||||
return current_date.day == $Trainer.birth_day && current_date.month == $Trainer.birth_month
|
||||
end
|
||||
|
||||
def obtainedTransferBox?
|
||||
return $PokemonSystem.obtained_transfer_box
|
||||
end
|
||||
@@ -14,6 +14,8 @@ def obtainStarter(starterIndex = 0)
|
||||
startersList = Settings::DEFAULT_STARTERS
|
||||
if $game_switches[SWITCH_JOHTO_STARTERS]
|
||||
startersList = Settings::JOHTO_STARTERS
|
||||
elsif $game_switches[SWITCH_KANTO_STARTERS]
|
||||
startersList = Settings::KANTO_STARTERS
|
||||
elsif $game_switches[SWITCH_HOENN_STARTERS]
|
||||
startersList = Settings::HOENN_STARTERS
|
||||
elsif $game_switches[SWITCH_SINNOH_STARTERS]
|
||||
|
||||
Reference in New Issue
Block a user