sync text

This commit is contained in:
YamaArashi 2016-06-12 10:11:31 -07:00
parent bcb251261d
commit 3a6a300da4
19 changed files with 238 additions and 220 deletions

View file

@ -147,9 +147,16 @@ charmap "ゅ", $E1
charmap "ょ", $E2 charmap "ょ", $E2
charmap "ー", $E3 charmap "ー", $E3
charmap "<pkmn>", $4A ; PkMn
charmap "@", $50 charmap "@", $50
charmap "<PLAYER>", $52
charmap "<RIVAL>", $53
charmap "#", $54 charmap "#", $54
;charmap "POKé", $54 ;charmap "POKé", $54
charmap "<TARGET>", $59
charmap "<USER>", $5A
charmap "", $71
charmap "″", $73
charmap "…", $75 charmap "…", $75
charmap "┌", $79 charmap "┌", $79
@ -233,6 +240,7 @@ charmap "'m", $E5
charmap "?", $E6 charmap "?", $E6
charmap "!", $E7 charmap "!", $E7
charmap ".", $E8 charmap ".", $E8
charmap "▷", $EC
charmap "▶", $ED charmap "▶", $ED
charmap "♂", $EF charmap "♂", $EF
charmap "¥", $F0 charmap "¥", $F0

View file

@ -30,3 +30,4 @@ INCLUDE "constants/tilesets.asm"
INCLUDE "constants/starter_mons.asm" INCLUDE "constants/starter_mons.asm"
INCLUDE "constants/event_constants.asm" INCLUDE "constants/event_constants.asm"
INCLUDE "constants/event_macros.asm" INCLUDE "constants/event_macros.asm"
INCLUDE "constants/text_constants.asm"

View file

@ -29,6 +29,16 @@ D_LEFT EQU %00100000
D_UP EQU %01000000 D_UP EQU %01000000
D_DOWN EQU %10000000 D_DOWN EQU %10000000
const_value set 0
const BIT_A_BUTTON
const BIT_B_BUTTON
const BIT_SELECT
const BIT_START
const BIT_D_RIGHT
const BIT_D_LEFT
const BIT_D_UP
const BIT_D_DOWN
SCREEN_WIDTH EQU 20 SCREEN_WIDTH EQU 20
SCREEN_HEIGHT EQU 18 SCREEN_HEIGHT EQU 18
@ -152,20 +162,6 @@ FLAG_RESET EQU 0
FLAG_SET EQU 1 FLAG_SET EQU 1
FLAG_TEST EQU 2 FLAG_TEST EQU 2
; special text IDs
TEXT_MON_FAINTED EQU $d0
TEXT_BLACKED_OUT EQU $d1
TEXT_REPEL_WORE_OFF EQU $d2
TEXT_SAFARI_GAME_OVER EQU $d3
; PrintNumber
BIT_LEFT_ALIGN EQU 6
BIT_LEADING_ZEROES EQU 7
LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN)
LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)
; HP bar ; HP bar
HP_BAR_GREEN EQU 0 HP_BAR_GREEN EQU 0
HP_BAR_YELLOW EQU 1 HP_BAR_YELLOW EQU 1

View file

@ -0,0 +1,14 @@
; special text IDs
TEXT_MON_FAINTED EQU $d0
TEXT_BLACKED_OUT EQU $d1
TEXT_REPEL_WORE_OFF EQU $d2
TEXT_SAFARI_GAME_OVER EQU $d3
; PrintNumber
BIT_MONEY_SIGN EQU 5
BIT_LEFT_ALIGN EQU 6
BIT_LEADING_ZEROES EQU 7
MONEY_SIGN EQU (1 << BIT_MONEY_SIGN)
LEFT_ALIGN EQU (1 << BIT_LEFT_ALIGN)
LEADING_ZEROES EQU (1 << BIT_LEADING_ZEROES)

View file

@ -199,7 +199,6 @@ MoveDownSmallStars:
add hl, de add hl, de
dec c dec c
jr nz, .innerLoop jr nz, .innerLoop
; Toggle the palette so that the lower star in the small stars tile blinks in ; Toggle the palette so that the lower star in the small stars tile blinks in
; and out. ; and out.
ld a, [rOBP1] ld a, [rOBP1]

View file

@ -58,8 +58,8 @@ AnimateHallOfFame:
ld c, 80 ld c, 80
call DelayFrames call DelayFrames
coord hl, 2, 13 coord hl, 2, 13
ld b, $3 ld b, 3
ld c, $e ld c, 14
call TextBoxBorder call TextBoxBorder
coord hl, 4, 15 coord hl, 4, 15
ld de, HallOfFameText ld de, HallOfFameText

305
text.asm

File diff suppressed because it is too large Load diff

View file

@ -25,7 +25,7 @@ _BikeShopText_1d81f::
prompt prompt
_BikeShopText_1d824:: _BikeShopText_1d824::
text $52, " exchanged" text "<PLAYER> exchanged"
line "the BIKE VOUCHER" line "the BIKE VOUCHER"
cont "for a BICYCLE.@@" cont "for a BICYCLE.@@"

View file

@ -8,7 +8,7 @@ _TM18PreReceiveText::
prompt prompt
_ReceivedTM18Text:: _ReceivedTM18Text::
text $52, " received" text "<PLAYER> received"
line "@" line "@"
TX_RAM wcf4b TX_RAM wcf4b
text "!@@" text "!@@"

View file

@ -83,13 +83,13 @@ FanClubChairStoryText::
prompt prompt
ReceivedBikeVoucherText:: ReceivedBikeVoucherText::
text $52, " received" text "<PLAYER> received"
line "a @" line "a @"
TX_RAM wcf4b TX_RAM wcf4b
text "!@@" text "!@@"
ExplainBikeVoucherText:: ExplainBikeVoucherText::
db $0 text ""
para "Exchange that for" para "Exchange that for"
line "a BICYCLE!" line "a BICYCLE!"
@ -111,7 +111,7 @@ FanClubNoStoryText::
done done
FanClubChairFinalText:: FanClubChairFinalText::
text "Hello, ", $52, "!" text "Hello, <PLAYER>!"
para "Did you come see" para "Did you come see"
line "me about my" line "me about my"

View file

@ -1,7 +1,7 @@
_HallofFameRoomText1:: _HallofFameRoomText1::
text "OAK: Er-hem!" text "OAK: Er-hem!"
line "Congratulations" line "Congratulations"
cont $52, "!" cont "<PLAYER>!"
para "This floor is the" para "This floor is the"
line "#MON HALL OF" line "#MON HALL OF"
@ -16,13 +16,13 @@ _HallofFameRoomText1::
line "also recorded in" line "also recorded in"
cont "the HALL OF FAME!" cont "the HALL OF FAME!"
para $52, "! You have" para "<PLAYER>! You have"
line "endeavored hard" line "endeavored hard"
cont "to become the new" cont "to become the new"
cont "LEAGUE champion!" cont "LEAGUE champion!"
para "Congratulations," para "Congratulations,"
line $52, ", you and" line "<PLAYER>, you and"
cont "your #MON are" cont "your #MON are"
cont "HALL OF FAMERs!" cont "HALL OF FAMERs!"
done done

View file

@ -1,6 +1,6 @@
_LanceBeforeBattleText:: _LanceBeforeBattleText::
text "Ah! I heard about" text "Ah! I heard about"
line "you ", $52, "!" line "you <PLAYER>!"
para "I lead the ELITE" para "I lead the ELITE"
line "FOUR! You can" line "FOUR! You can"

View file

@ -81,7 +81,7 @@ _Museum1FText_5c28e::
prompt prompt
_ReceivedOldAmberText:: _ReceivedOldAmberText::
text $52, " received" text "<PLAYER> received"
line "OLD AMBER!@@" line "OLD AMBER!@@"
_Museum1FText_5c299:: _Museum1FText_5c299::

View file

@ -1,11 +1,11 @@
_OaksLabGaryText1:: _OaksLabGaryText1::
text $53,": Yo" text "<RIVAL>: Yo"
line $52,"! Gramps" line "<PLAYER>! Gramps"
cont "isn't around!" cont "isn't around!"
done done
_OaksLabText40:: _OaksLabText40::
text $53,": Heh, I" text "<RIVAL>: Heh, I"
line "don't need to be" line "don't need to be"
cont "greedy like you!" cont "greedy like you!"
@ -14,7 +14,7 @@ _OaksLabText40::
done done
_OaksLabText41:: _OaksLabText41::
text $53,": My" text "<RIVAL>: My"
line "#MON looks a" line "#MON looks a"
cont "lot stronger." cont "lot stronger."
done done
@ -60,7 +60,7 @@ _OaksLabLastMonText::
done done
_OaksLabText_1d2f0:: _OaksLabText_1d2f0::
text "OAK: Now, ", $52, "," text "OAK: Now, <PLAYER>,"
line "which #MON do" line "which #MON do"
cont "you want?" cont "you want?"
done done
@ -73,14 +73,14 @@ _OaksLabText_1d2f5::
done done
_OaksLabText_1d2fa:: _OaksLabText_1d2fa::
text "OAK: ", $52, "," text "OAK: <PLAYER>,"
line "raise your young" line "raise your young"
cont "#MON by making" cont "#MON by making"
cont "it fight!" cont "it fight!"
done done
_OaksLabDeliverParcelText1:: _OaksLabDeliverParcelText1::
text "OAK: Oh, ", $52, "!" text "OAK: Oh, <PLAYER>!"
para "How is my old" para "How is my old"
line "#MON?" line "#MON?"
@ -95,11 +95,11 @@ _OaksLabDeliverParcelText1::
para "What? You have" para "What? You have"
line "something for me?" line "something for me?"
para $52, " delivered" para "<PLAYER> delivered"
line "OAK's PARCEL.@@" line "OAK's PARCEL.@@"
_OaksLabDeliverParcelText2:: _OaksLabDeliverParcelText2::
db $0 text ""
para "Ah! This is the" para "Ah! This is the"
line "custom # BALL" line "custom # BALL"
cont "I ordered!" cont "I ordered!"
@ -109,7 +109,7 @@ _OaksLabDeliverParcelText2::
_OaksLabAroundWorldText:: _OaksLabAroundWorldText::
text "#MON around the" text "#MON around the"
line "world wait for" line "world wait for"
cont "you, ", $52, "!" cont "you, <PLAYER>!"
done done
_OaksLabGivePokeballsText1:: _OaksLabGivePokeballsText1::
@ -123,11 +123,11 @@ _OaksLabGivePokeballsText1::
cont "to capture wild" cont "to capture wild"
cont "#MON." cont "#MON."
para $52, " got 5" para "<PLAYER> got 5"
line "# BALLs!@@" line "# BALLs!@@"
_OaksLabGivePokeballsText2:: _OaksLabGivePokeballsText2::
db $0 text ""
para "When a wild" para "When a wild"
line "#MON appears," line "#MON appears,"
cont "it's fair game." cont "it's fair game."
@ -182,20 +182,20 @@ _OaksLabText_1d340::
done done
_OaksLabRivalWaitingText:: _OaksLabRivalWaitingText::
text $53, ": Gramps!" text "<RIVAL>: Gramps!"
line "I'm fed up with" line "I'm fed up with"
cont "waiting!" cont "waiting!"
done done
_OaksLabChooseMonText:: _OaksLabChooseMonText::
text "OAK: ", $53, "?" text "OAK: <RIVAL>?"
line "Let me think..." line "Let me think..."
para "Oh, that's right," para "Oh, that's right,"
line "I told you to" line "I told you to"
cont "come! Just wait!" cont "come! Just wait!"
para "Here, ", $52, "!" para "Here, <PLAYER>!"
para "There are 3" para "There are 3"
line "#MON here!" line "#MON here!"
@ -216,14 +216,14 @@ _OaksLabChooseMonText::
done done
_OaksLabRivalInterjectionText:: _OaksLabRivalInterjectionText::
text $53, ": Hey!" text "<RIVAL>: Hey!"
line "Gramps! What" line "Gramps! What"
cont "about me?" cont "about me?"
done done
_OaksLabBePatientText:: _OaksLabBePatientText::
text "OAK: Be patient!" text "OAK: Be patient!"
line $53, ", you can" line "<RIVAL>, you can"
cont "have one too!" cont "have one too!"
done done
@ -233,19 +233,19 @@ _OaksLabLeavingText::
done done
_OaksLabRivalPickingMonText:: _OaksLabRivalPickingMonText::
text $53, ": I'll take" text "<RIVAL>: I'll take"
line "this one, then!" line "this one, then!"
done done
_OaksLabRivalReceivedMonText:: _OaksLabRivalReceivedMonText::
text $53, " received" text "<RIVAL> received"
line "a @" line "a @"
TX_RAM wcd6d TX_RAM wcd6d
text "!@@" text "!@@"
_OaksLabRivalChallengeText:: _OaksLabRivalChallengeText::
text $53, ": Wait" text "<RIVAL>: Wait"
line $52, "!" line "<PLAYER>!"
cont "Let's check out" cont "Let's check out"
cont "our #MON!" cont "our #MON!"
@ -261,26 +261,26 @@ _OaksLabText_1d3be::
prompt prompt
_OaksLabText_1d3c3:: _OaksLabText_1d3c3::
text $53, ": Yeah! Am" text "<RIVAL>: Yeah! Am"
line "I great or what?" line "I great or what?"
prompt prompt
_OaksLabRivalToughenUpText:: _OaksLabRivalToughenUpText::
text $53, ": Okay!" text "<RIVAL>: Okay!"
line "I'll make my" line "I'll make my"
cont "#MON fight to" cont "#MON fight to"
cont "toughen it up!" cont "toughen it up!"
para $52, "! Gramps!" para "<PLAYER>! Gramps!"
line "Smell you later!" line "Smell you later!"
done done
_OaksLabText21:: _OaksLabText21::
text $53, ": Gramps!" text "<RIVAL>: Gramps!"
done done
_OaksLabText22:: _OaksLabText22::
text $53, ": What did" text "<RIVAL>: What did"
line "you call me for?" line "you call me for?"
done done
@ -305,11 +305,11 @@ _OaksLabText24::
done done
_OaksLabText25:: _OaksLabText25::
text "OAK: ", $52, " and" text "OAK: <PLAYER> and"
line $53, "! Take" line "<RIVAL>! Take"
cont "these with you!" cont "these with you!"
para $52, " got" para "<PLAYER> got"
line "#DEX from OAK!@@" line "#DEX from OAK!@@"
_OaksLabText26:: _OaksLabText26::
@ -336,11 +336,11 @@ _OaksLabText26::
done done
_OaksLabText27:: _OaksLabText27::
text $53, ": Alright" text "<RIVAL>: Alright"
line "Gramps! Leave it" line "Gramps! Leave it"
cont "all to me!" cont "all to me!"
para $52, ", I hate to" para "<PLAYER>, I hate to"
line "say it, but I" line "say it, but I"
cont "don't need you!" cont "don't need you!"
@ -350,7 +350,7 @@ _OaksLabText27::
para "I'll tell her not" para "I'll tell her not"
line "to lend you one," line "to lend you one,"
cont $52, "! Hahaha!" cont "<PLAYER>! Hahaha!"
done done
_OaksLabText_1d405:: _OaksLabText_1d405::

View file

@ -10,7 +10,7 @@ _MomWakeUpText::
done done
_MomHealText1:: _MomHealText1::
text "MOM: ",$52,"!" text "MOM: <PLAYER>!"
line "You should take a" line "You should take a"
cont "quick rest." cont "quick rest."
prompt prompt

View file

@ -60,7 +60,7 @@ _Route22RivalBeforeBattleText2::
cont "That's cool!" cont "That's cool!"
para "Then I'll whip you" para "Then I'll whip you"
line $52, " as a" line "<PLAYER> as a"
cont "warm up for" cont "warm up for"
cont "#MON LEAGUE!" cont "#MON LEAGUE!"
@ -88,8 +88,8 @@ _Route22RivalDefeatedText2::
prompt prompt
_Route22Text_511d0:: _Route22Text_511d0::
text $53, ": Hahaha!" text "<RIVAL>: Hahaha!"
line $52, "! That's" line "<PLAYER>! That's"
cont "your best? You're" cont "your best? You're"
cont "nowhere near as" cont "nowhere near as"
cont "good as me, pal!" cont "good as me, pal!"

View file

@ -58,7 +58,7 @@ _SilphCo11Text2::
done done
_SilphCo11Text3:: _SilphCo11Text3::
text "Ah ", $52, "!" text "Ah <PLAYER>!"
line "So we meet again!" line "So we meet again!"
para "The PRESIDENT and" para "The PRESIDENT and"

View file

@ -35,7 +35,7 @@ _SSAnneWelcomeText9::
prompt prompt
_SSAnneFlashedTicketText:: _SSAnneFlashedTicketText::
text $52, " flashed" text "<PLAYER> flashed"
line "the S.S.TICKET!" line "the S.S.TICKET!"
para "Great! Welcome to" para "Great! Welcome to"
@ -43,7 +43,7 @@ _SSAnneFlashedTicketText::
done done
_SSAnneNoTicketText:: _SSAnneNoTicketText::
text $52, " doesn't" text "<PLAYER> doesn't"
line "have the needed" line "have the needed"
cont "S.S.TICKET." cont "S.S.TICKET."
@ -71,7 +71,7 @@ _VermilionCityText5::
line "Gogogoh!@@" line "Gogogoh!@@"
_VermilionCityText14:: _VermilionCityText14::
db $0 text ""
para "A MACHOP is" para "A MACHOP is"
line "stomping the land" line "stomping the land"
cont "flat." cont "flat."

View file

@ -53,4 +53,3 @@ _OakSpeechText3::
cont "with #MON" cont "with #MON"
cont "awaits! Let's go!" cont "awaits! Let's go!"
done done