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
|
||||
Reference in New Issue
Block a user