Update 6.8

This commit is contained in:
chardub
2026-07-10 15:42:06 -04:00
parent 5b85e72cb2
commit 6a6f126a18
7871 changed files with 493194 additions and 224826 deletions
@@ -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