diff options
| author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-07-08 17:34:41 -0400 |
|---|---|---|
| committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-07-08 17:34:41 -0400 |
| commit | ca09233c9eca4c6b9b0ccfba436dcd7e3b3e669c (patch) | |
| tree | 4f7596be6169491f801756fdda59d6b51a751afe /maps/PlayersHouse2F.asm | |
| parent | 116b3b251931b0cd973d5d3f312fa32c2b16b197 (diff) | |
Build files in maps/
Diffstat (limited to 'maps/PlayersHouse2F.asm')
| -rw-r--r-- | maps/PlayersHouse2F.asm | 263 |
1 files changed, 0 insertions, 263 deletions
diff --git a/maps/PlayersHouse2F.asm b/maps/PlayersHouse2F.asm deleted file mode 100644 index 973b57c..0000000 --- a/maps/PlayersHouse2F.asm +++ /dev/null @@ -1,263 +0,0 @@ -include "constants.asm" - -SECTION "maps/PlayersHouse2F.asm", ROMX - -PlayersHouse2FScriptLoader:: ; 418B - ld hl, PlayersHouse2FScriptPointers - call RunMapScript - call WriteBackMapScriptNumber - ret - -PlayersHouse2FScriptPointers: ; 4195 - dw PlayersHouse2FScript1 - dw PlayersHouse2FNPCIDs1 - dw PlayersHouse2FScript2 - dw PlayersHouse2FNPCIDs2 - dw PlayersHouse2FScript3 - dw PlayersHouse2FDollText - -PlayersHouse2FNPCIDs1: ; 41A1 - db 0 - db 1 - db $FF - -PlayersHouse2FNPCIDs2: ; 41A4 - db 1 - db $FF - -PlayersHouse2FTextPointers: ; 41A6 - dw Function3899 - dw PlayersHouse2FRadioText - dw PlayersHouse2FComputerText - dw Function3899 - dw PlayersHouse2FN64Text - -PlayersHouse2FScript1: ; 41B0 - call PlayersHouse2PositionCheck - ret z - ld hl, PlayersHouse2FNPCIDs1 - ld de, PlayersHouse2FTextPointers - call CallMapTextSubroutine - ret nz - ret - -PlayersHouse2PositionCheck: ; 41BF - ld hl, wd41a - bit 0, [hl] - ret nz - ld a, [wYCoord] - cp 1 - ret nz - ld a, [wXCoord] - cp 9 - ret nz - ld hl, wJoypadFlags - set 6, [hl] - ld a, LEFT - ld d, 0 - call SetObjectFacing - ld hl, PlayersHouse2FTextString2 - call OpenTextbox - call PlayersHouse2FMovePlayer - call ClearAccumulator - ret - -PlayersHouse2FMovePlayer: ; 41EA - ld a, 0 - ld hl, Movement - call LoadMovementDataPointer - ld hl, wc5ed - set 7, [hl] - ld a, 1 - call WriteIntod637 - ret - -Movement: ; 41FD - db $08 - db $04 - db $32 - -PlayersHouse2FScript2: ; 4200 - ld hl, PlayersHouse2FNPCIDs2 - ld de, PlayersHouse2FTextPointers - call CallMapTextSubroutine - ret - -PlayersHouse2FScript3: ; 420A - ld hl, wd41a - bit 3, [hl] - jr nz, .jump - ld hl, PlayersHouse2FTextString1 - call OpenTextbox - ld hl, wd41a - set 3, [hl] - ld c, 3 - call DelayFrames -.jump - ld hl, PlayersHouse2FTextString2 - call OpenTextbox - ret - -PlayersHouse2FDollText: ; 4228 - ld hl, PlayersHouse2FTextString3 - call OpenTextbox - ret - -PlayersHouse2FRadioText: ; 422F - ld hl, PlayersHouse2FTextString9 - call OpenTextbox - ret - -PlayersHouse2FComputerText: ; 4236 - ld hl, wd41a - bit 0, [hl] - jr nz, .jump - ld hl, PlayersHouse2FTextString5 - call OpenTextbox - ret - -.jump -; 4244 - call RefreshScreen - callab Function1477D - call Function1fea - ret - -PlayersHouse2FCheckEmail: ; 4253 - call YesNoBox - jr c, .jump2 - ld hl, wd41a - set 0, [hl] - ld hl, PlayersHouse2FTextString6 - call PrintText - ret - -.jump2 -; 4264 - ld hl, PlayersHouse2FTextString7 - call PrintText - ret - -PlayersHouse2FN64Text: ; 426B - ld hl, PlayersHouse2FTextString4 - call OpenTextbox - ret - -PlayersHouse2FTextString1: ; 4272 - text "ケン『おっ おまえの うでで" - line "ひかりかがやく そのとけいは⋯⋯" - cont "<PLAYER>も ついに" - cont "トレーナーギアを かったのか!" - - para "すごいじゃないか!" - line "でも かったばかりじゃ じかんしか" - cont "わからないだろ?" - cont "あとで マップが" - cont "みられるように してやるよ!" - cont "おまえ どうせ" - cont "あそびに いくんだろう?" - - para "ざんねんながら おふくろは" - line "かいものに いってるから" - cont "おこづかいを もらおうなんて" - cont "きょうは むり だぜ!" - done - -PlayersHouse2FTextString2: ; 4332 - text "そうだ おまえの パソコンに" - line "メールが とどいていたな" - cont "でかけるんなら" - cont "メールぐらい よんでおけよ" - done - -PlayersHouse2FTextString3: ; 4365 - text "クりスマスに カントーの" - line "しんせきに プレゼント" - cont "してもらった にんぎょうだ" - done - -PlayersHouse2FTextString4: ; 438D - text "ニンテンドウ64を してる!" - cont "⋯⋯ ⋯⋯ さてと!" - cont "そろそろ そとに あそびに" - cont "でかけるか!" - done - -PlayersHouse2FTextString5: ; 43BD - text "<PLAYER>は" - line "パソコンの スイッチを いれた!" - - para "おや? <PLAYER>あてに" - line "メールが とどいている ようだ" - cont "よんでみる?@" - - db $08 - -; 43F3 - call PlayersHouse2FCheckEmail - call Function3036 - ret - -PlayersHouse2FTextString6: ; 43FA - text "とつぜん メールを さしあげる" - line "しつれいを おゆるしあれ" - - para "じつは きみに どうしても" - line "わたしたい ものが あるのじゃが" - cont "うけとって もらえんかのう" - cont "ポケモンけんきゅうしゃ オーキド" - done - -PlayersHouse2FTextString7: ; 4456 - text "あとで" - line "よもっと<⋯⋯>" - done - -PlayersHouse2FTextString8: ; 4461 (unused?) - text "しんはつばい トレーナーギア!" - line "ポケモントレーナーの ための" - cont "さいせんたんの とけい です" - - para "じかんが わかるのは あたりまえ" - line "カセットを ついかすれば" - cont "ばしょも わかる! " - cont "でんわが かけられる!" - - para "とどめは" - line "ラジオを きくことができる!" - - para "もうしこみさきは⋯⋯" - line "⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯" - cont "シルフの ホームぺージだ" - done - -PlayersHouse2FTextString9: ; 44FE - text "<PLAYER>は" - line "ラジオのスイッチを おした!" - - para "ジェイ オー ピー エム" - line "こちらは" - cont "# ほうそうきょく です" - - para "#ニュースを おおくりします" - line "<⋯⋯> #の せかいてきな" - cont "けんきゅうしゃ オーキドはかせが" - cont "カントー から" - cont "すがたを けしました" - cont "あらたな けんきゅうの ばしょを" - cont "もとめて いどうした との" - cont "みかたも ありますが" - cont "なんらかの じけんに まきこまれた" - cont "かのうせいも あり" - cont "かんけいしゃは とても" - cont "しんぱい しています" - - para "<⋯⋯><⋯⋯>いじょう" - line "#ニュースでした" - - para "<⋯⋯><⋯⋯><⋯⋯><⋯⋯><⋯⋯><⋯⋯>" - line "それでは ひきつづき" - cont "おんがくを おたのしみ ください" - done - -; 45FF
\ No newline at end of file |
