Merge pull request #496 from Rangi42/master

Label more map scripts; document more bugs [ready to merge]
This commit is contained in:
yenatch 2018-03-10 16:16:03 -05:00 committed by GitHub
commit 12070ca500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
219 changed files with 2157 additions and 2058 deletions

View File

@ -283,13 +283,14 @@ NUM_TMS = const_value - TM01 - 2 ; discount ITEM_C3 and ITEM_DC
add_hm WHIRLPOOL ; f8
add_hm WATERFALL ; f9
NUM_HMS = const_value - HM01
const ITEM_FA ; fa
add_mt FLAMETHROWER
add_mt THUNDERBOLT
add_mt ICE_BEAM
NUM_TM_HM_TUTOR = __enum__ + -1
const ITEM_FA ; fa
USE_SCRIPT_VAR EQU $00
ITEM_FROM_MEM EQU $ff

View File

@ -37,6 +37,9 @@ MAX_LINK_RECORD EQU 9999
; day-care
MAX_DAY_CARE_EXP EQU $500000
; hall of fame
HOF_MASTER_COUNT EQU 200
; bug-catching contest
BUG_CONTEST_MINUTES EQU 20
BUG_CONTEST_SECONDS EQU 0

View File

@ -16,6 +16,7 @@ CURRENT_MAP_HEIGHT = \2_HEIGHT
db \4
ENDM
; Connections go in order: north, south, west, east
connection: MACRO
;\1: direction
;\2: map name

View File

@ -28,7 +28,7 @@ BillPhoneNiteGreetingText: ; 0x1b44b5
line "SERVICE."
done
BillPhoneGeneriText: ; 0x1b44fe
BillPhoneGenericText: ; 0x1b44fe
text "Who's calling?"
para "<PLAY_G>, is it?"

View File

@ -8,6 +8,18 @@ INCLUDE "data/pokemon/evos_attacks_pointers.asm"
EvosAttacks::
; Evos+attacks data structure:
; - Evolution methods:
; * db EVOLVE_LEVEL, level, species
; * db EVOLVE_ITEM, used item, species
; * db EVOLVE_TRADE, held item (or -1 for none), species
; * db EVOLVE_HAPPINESS, TR_* constant (ANYTIME, MORNDAY, NITE), species
; * db EVOLVE_STAT, level, ATK_*_DEF constant (LT, GT, EQ), species
; - db 0 ; no more evolutions
; - Learnset (in increasing level order):
; * db level, move
; - db 0 ; no more level-up moves
BulbasaurEvosAttacks:
db EVOLVE_LEVEL, 16, IVYSAUR
@ -831,7 +843,7 @@ AbraEvosAttacks:
db 0 ; no more level-up moves
KadabraEvosAttacks:
db EVOLVE_TRADE, $ff, ALAKAZAM
db EVOLVE_TRADE, -1, ALAKAZAM
db 0 ; no more evolutions
db 1, TELEPORT
db 1, KINESIS
@ -875,7 +887,7 @@ MachopEvosAttacks:
db 0 ; no more level-up moves
MachokeEvosAttacks:
db EVOLVE_TRADE, $ff, MACHAMP
db EVOLVE_TRADE, -1, MACHAMP
db 0 ; no more evolutions
db 1, LOW_KICK
db 1, LEER
@ -989,7 +1001,7 @@ GeodudeEvosAttacks:
db 0 ; no more level-up moves
GravelerEvosAttacks:
db EVOLVE_TRADE, $ff, GOLEM
db EVOLVE_TRADE, -1, GOLEM
db 0 ; no more evolutions
db 1, TACKLE
db 1, DEFENSE_CURL
@ -1248,7 +1260,7 @@ GastlyEvosAttacks:
db 0 ; no more level-up moves
HaunterEvosAttacks:
db EVOLVE_TRADE, $ff, GENGAR
db EVOLVE_TRADE, -1, GENGAR
db 0 ; no more evolutions
db 1, HYPNOSIS
db 1, LICK

View File

@ -1,12 +1,12 @@
Trainers:
; Trainer data structure:
; db "NAME@", TRAINERTYPE_* constant
; 1 to 6 Pokémon:
; - db "NAME@", TRAINERTYPE_* constant
; - 1 to 6 Pokémon:
; * for TRAINERTYPE_NORMAL: db level, species
; * for TRAINERTYPE_ITEM: db level, species, item
; * for TRAINERTYPE_MOVES: db level, species, 4 moves
; * for TRAINERTYPE_ITEM_MOVES: db level, species, item, 4 moves
; db -1 ; end
; - db -1 ; end
FalknerGroup:

View File

@ -33,6 +33,7 @@ These are known bugs and glitches in the original Pokémon Crystal game: code th
- [Magikarp length limits have a unit conversion error](#magikarp-length-limits-have-a-unit-conversion-error)
- [Magikarp lengths can be miscalculated](#magikarp-lengths-can-be-miscalculated)
- [Battle transitions fail to account for the enemy's level](#battle-transitions-fail-to-account-for-the-enemys-level)
- [A "HOF Master!" title for 200-Time Famers is defined but inaccessible](#a-hof-master-title-for-200-time-famers-is-defined-but-inaccessible)
- [Slot machine payout sound effects cut each other off](#slot-machine-payout-sound-effects-cut-each-other-off)
- [Team Rocket battle music is not used for Executives or Scientists](#team-rocket-battle-music-is-not-used-for-executives-or-scientists)
- [No bump noise if standing on tile `$3E`](#no-bump-noise-if-standing-on-tile-3e)
@ -47,6 +48,7 @@ These are known bugs and glitches in the original Pokémon Crystal game: code th
- [Using a Park Ball in normal battles has a corrupt animation](#using-a-park-ball-in-normal-battles-has-a-corrupt-animation)
- [`HELD_CATCH_CHANCE` has no effect](#held_catch_chance-has-no-effect)
- [Only the first three `EvosAttacks` evolution entries can have Stone compatibility reported correctly](#only-the-first-three-evosattacks-evolution-entries-can-have-stone-compatibility-reported-correctly)
- [`EVOLVE_STAT` can break Stone compatibility reporting](#evolve_stat-can-break-stone-compatibility-reporting)
- [`ScriptCall` can overflow `wScriptStack` and crash](#scriptcall-can-overflow-wscriptstack-and-crash)
- [`LoadSpriteGFX` does not limit the capacity of `UsedSprites`](#loadspritegfx-does-not-limit-the-capacity-of-usedsprites)
- [`ChooseWildEncounter` doesn't really validate the wild Pokémon species](#choosewildencounter-doesnt-really-validate-the-wild-pokémon-species)
@ -897,6 +899,26 @@ StartTrainerBattle_DetermineWhichAnimation: ; 8c365 (23:4365)
*To do:* Fix this bug.
## A "HOF Master!" title for 200-Time Famers is defined but inaccessible
([Video](https://www.youtube.com/watch?v=iHkWubvxmSg))
This is a bug with `_HallOfFamePC.DisplayMonAndStrings` in [engine/events/halloffame.asm](/engine/events/halloffame.asm):
```asm
ld a, [wHallOfFameTempWinCount]
cp HOF_MASTER_COUNT + 1 ; should be HOF_MASTER_COUNT
jr c, .print_num_hof
ld de, .HOFMaster
hlcoord 1, 2
call PlaceString
hlcoord 13, 2
jr .finish
```
**Fix:** Change `HOF_MASTER_COUNT + 1` to `HOF_MASTER_COUNT`.
## Slot machine payout sound effects cut each other off
([Video](https://www.youtube.com/watch?v=ojq3xqfRF6I))
@ -1280,6 +1302,39 @@ This is a bug with `PlacePartyMonEvoStoneCompatibility.DetermineCompatibility` i
**Fix:** Change `ld bc, 10` to `ld bc, wStringBuffer2 - wStringBuffer1` to support up to six Stone entries.
## `EVOLVE_STAT` can break Stone compatibility reporting
This is a bug with `PlacePartyMonEvoStoneCompatibility.DetermineCompatibility` in [engine/party_menu.asm](/engine/party_menu.asm):
```asm
.loop2
ld a, [hli]
and a
jr z, .nope
inc hl
inc hl
cp EVOLVE_ITEM
jr nz, .loop2
```
**Fix:**
```asm
.loop2
ld a, [hli]
and a
jr z, .nope
cp EVOLVE_STAT
jr nz, .not_four_bytes
inc hl
.not_four_bytes
inc hl
inc hl
cp EVOLVE_ITEM
jr nz, .loop2
```
## `ScriptCall` can overflow `wScriptStack` and crash
In [engine/scripting.asm](/engine/scripting.asm):

View File

@ -220,8 +220,8 @@ RestartClock: ; 20021 (8:4021)
ret
; 20160 (8:4160)
; unused
.unreferenced ; 20160
; unused
ld a, [wBuffer3]
ld b, a
call Coord2Tile
@ -243,10 +243,12 @@ RestartClock: ; 20021 (8:4021)
ret
; 2017c (8:417c)
String_2017c: ; 2017c
UnreferencedString_HourJP: ; 2017c
; unused
db "じ@" ; HR
; 2017e
String_2017e: ; 2017e
UnreferencedString_MinuteJP: ; 2017e
; unused
db "ふん@" ; MIN
; 20181

View File

@ -482,11 +482,11 @@ IntroScene1: ; e495b (39:495b)
push af
ld a, BANK(wBGPals1)
ld [rSVBK], a
ld hl, Palette_365ad
ld hl, IntroPalette2
ld de, wBGPals1
ld bc, 16 palettes
call CopyBytes
ld hl, Palette_365ad
ld hl, IntroPalette2
ld de, wBGPals2
ld bc, 16 palettes
call CopyBytes
@ -555,11 +555,11 @@ IntroScene3: ; e49fd (39:49fd)
push af
ld a, BANK(wBGPals1)
ld [rSVBK], a
ld hl, Palette_e5edd
ld hl, IntroPalette1
ld de, wBGPals1
ld bc, 16 palettes
call CopyBytes
ld hl, Palette_e5edd
ld hl, IntroPalette1
ld de, wBGPals2
ld bc, 16 palettes
call CopyBytes
@ -621,11 +621,11 @@ IntroScene5: ; e4a7a (39:4a7a)
push af
ld a, BANK(wBGPals1)
ld [rSVBK], a
ld hl, Palette_365ad
ld hl, IntroPalette2
ld de, wBGPals1
ld bc, 16 palettes
call CopyBytes
ld hl, Palette_365ad
ld hl, IntroPalette2
ld de, wBGPals2
ld bc, 16 palettes
call CopyBytes
@ -728,12 +728,12 @@ IntroScene7: ; e4b3f (39:4b3f)
ld a, BANK(wBGPals1)
ld [rSVBK], a
ld hl, Palette_e5edd
ld hl, IntroPalette1
ld de, wBGPals1
ld bc, 16 palettes
call CopyBytes
ld hl, Palette_e5edd
ld hl, IntroPalette1
ld de, wBGPals2
ld bc, 16 palettes
call CopyBytes
@ -886,11 +886,11 @@ IntroScene11: ; e4c86 (39:4c86)
push af
ld a, BANK(wBGPals1)
ld [rSVBK], a
ld hl, Palette_365ad
ld hl, IntroPalette2
ld de, wBGPals1
ld bc, 16 palettes
call CopyBytes
ld hl, Palette_365ad
ld hl, IntroPalette2
ld de, wBGPals2
ld bc, 16 palettes
call CopyBytes
@ -1013,11 +1013,11 @@ IntroScene13: ; e4d6d (39:4d6d)
push af
ld a, BANK(wBGPals1)
ld [rSVBK], a
ld hl, Palette_e5edd
ld hl, IntroPalette1
ld de, wBGPals1
ld bc, 16 palettes
call CopyBytes
ld hl, Palette_e5edd
ld hl, IntroPalette1
ld de, wBGPals2
ld bc, 16 palettes
call CopyBytes
@ -1122,11 +1122,11 @@ IntroScene15: ; e4e40 (39:4e40)
push af
ld a, BANK(wBGPals1)
ld [rSVBK], a
ld hl, Palette_e77dd
ld hl, IntroPalette5
ld de, wBGPals1
ld bc, 16 palettes
call CopyBytes
ld hl, Palette_e77dd
ld hl, IntroPalette5
ld de, wBGPals2
ld bc, 16 palettes
call CopyBytes
@ -1196,11 +1196,11 @@ IntroScene17: ; e4ef5 (39:4ef5)
push af
ld a, BANK(wBGPals1)
ld [rSVBK], a
ld hl, Palette_e6d6d
ld hl, IntroPalette4
ld de, wBGPals1
ld bc, 16 palettes
call CopyBytes
ld hl, Palette_e6d6d
ld hl, IntroPalette4
ld de, wBGPals2
ld bc, 16 palettes
call CopyBytes
@ -1270,11 +1270,11 @@ IntroScene19: ; e4f7e (39:4f7e)
push af
ld a, BANK(wBGPals1)
ld [rSVBK], a
ld hl, Palette_e77dd
ld hl, IntroPalette5
ld de, wBGPals1
ld bc, 16 palettes
call CopyBytes
ld hl, Palette_e77dd
ld hl, IntroPalette5
ld de, wBGPals2
ld bc, 16 palettes
call CopyBytes
@ -1440,11 +1440,11 @@ IntroScene26: ; e50bb (39:50bb)
push af
ld a, BANK(wBGPals1)
ld [rSVBK], a
ld hl, Palette_e679d
ld hl, IntroPalette3
ld de, wBGPals1
ld bc, 16 palettes
call CopyBytes
ld hl, Palette_e679d
ld hl, IntroPalette3
ld de, wBGPals2
ld bc, 16 palettes
call CopyBytes
@ -2086,7 +2086,7 @@ IntroTilemap003: ; e5ecd
INCBIN "gfx/intro/003.tilemap.lz"
; e5edd
Palette_e5edd: ; e5edd
IntroPalette1: ; e5edd
INCLUDE "gfx/intro/intro_1.pal"
; e5f5d
@ -2122,7 +2122,7 @@ IntroTilemap007: ; e655d
INCBIN "gfx/intro/007.tilemap.lz"
; e65ad
Palette_365ad: ; e65ad
IntroPalette2: ; e65ad
INCLUDE "gfx/intro/intro_2.pal"
; e662d
@ -2138,7 +2138,7 @@ IntroTilemap015: ; e676d
INCBIN "gfx/intro/015.tilemap.lz"
; e679d
Palette_e679d: ; e679d
IntroPalette3: ; e679d
INCLUDE "gfx/intro/intro_3.pal"
; e681d
@ -2154,7 +2154,7 @@ IntroTilemap011: ; e6d0d
INCBIN "gfx/intro/011.tilemap.lz"
; e6d6d
Palette_e6d6d: ; e6d6d
IntroPalette4: ; e6d6d
INCLUDE "gfx/intro/intro_4.pal"
; e6ded
@ -2182,7 +2182,7 @@ IntroTilemap013: ; e778d
INCBIN "gfx/intro/013.tilemap.lz"
; e77dd
Palette_e77dd: ; e77dd
IntroPalette5: ; e77dd
INCLUDE "gfx/intro/intro_5.pal"
IntroUnownBackGFX: ; e785d

View File

@ -54,7 +54,7 @@ MG_Mobile_Layout_WipeAttrMap: ; 49346 (12:5346)
MG_Mobile_Layout_LoadPals: ; 49351 (12:5351)
ld de, wBGPals1
ld hl, Palette_493e1
ld hl, Palette_MysteryGiftMobile
ld bc, 5 palettes
ld a, BANK(wBGPals1)
call FarCopyWRAM
@ -111,7 +111,7 @@ MG_Mobile_Layout_CreatePalBoxes: ; 49384 (12:5384)
ret
; 493e1 (12:53e1)
Palette_493e1: ; 493e1
Palette_MysteryGiftMobile: ; 493e1
INCLUDE "gfx/mystery_gift/mg_mobile.pal"
; 49409

View File

@ -181,13 +181,13 @@ Function819a7: ; 819a7
push af
ld a, BANK(wBGPals2)
ld [rSVBK], a
ld hl, Palette_819f4
ld hl, Palette_DebugBG
ld de, wBGPals2
ld bc, 16 palettes
call CopyBytes
ld a, 1 << rBGPI_AUTO_INCREMENT
ld [rBGPI], a
ld hl, Palette_819f4
ld hl, Palette_DebugBG
ld c, 8 palettes
xor a
.asm_819c8
@ -196,7 +196,7 @@ Function819a7: ; 819a7
jr nz, .asm_819c8
ld a, 1 << rOBPI_AUTO_INCREMENT
ld [rOBPI], a
ld hl, Palette_81a34
ld hl, Palette_DebugOB
ld c, 8 palettes
.asm_819d6
ld a, [hli]
@ -216,10 +216,10 @@ Function819a7: ; 819a7
ret
; 819f4
Palette_819f4: ; 819f4
Palette_DebugBG: ; 819f4
INCLUDE "gfx/debug/bg.pal"
Palette_81a34: ; 81a34
Palette_DebugOB: ; 81a34
INCLUDE "gfx/debug/ob.pal"
; 81a74

View File

@ -1334,7 +1334,7 @@ BattleTowerAction_EggTicket: ; 17093c (5c:493c) BattleTowerAction $0e
dec a
jr nz, .loop2
.skip
ld de, String_1709a4
ld de, String_MysteryJP
ld a, NAME_LENGTH_JAPANESE
.compare_loop
push af
@ -1375,8 +1375,8 @@ endr
ret
; 1709a4 (5c:49a4)
String_1709a4: ; 1709a4
db "なぞナゾ@@"
String_MysteryJP: ; 1709a4
db "なぞナゾ@@" ; MYSTERY
Function1709aa: ; 1709aa (5c:49aa) BattleTowerAction $0f
ld a, [rSVBK]
@ -1400,7 +1400,7 @@ Function1709bb: ; 1709bb (5c:49bb) BattleTowerAction $10
jr nc, .invalid
ld e, a
ld d, 0
ld hl, Jumptable_1709e7
ld hl, .jumptable
add hl, de
add hl, de
ld a, [hli]
@ -1417,7 +1417,7 @@ Function1709bb: ; 1709bb (5c:49bb) BattleTowerAction $10
ret
; 1709e7 (5c:49e7)
Jumptable_1709e7: ; 1709e7
.jumptable: ; 1709e7
dw .NoAction
dw .NoAction
dw .DoAction1
@ -1519,11 +1519,11 @@ Jumptable_1709e7: ; 1709e7
; 170a9c
Function170a9c: ; 170a9c (5c:4a9c) BattleTowerAction $11
ld c, $0
ld c, FALSE
jr asm_170aa2
Function170aa0: ; 170aa0 (5c:4aa0) BattleTowerAction $12
ld c, $1
ld c, TRUE
asm_170aa2: ; 170aa2 (5c:4aa2)
ld a, $5
call GetSRAMBank

View File

@ -35,5 +35,5 @@ _CardKey: ; 50779
.CardKeyScript: ; 0x507af
closetext
farjump MapRadioTower3FSignpost2Script
farjump CardKeySlotScript
; 0x507b4

View File

@ -18,7 +18,7 @@ HallOfFame:: ; 0x8640e
ld hl, wHallOfFameCount
ld a, [hl]
cp 200
cp HOF_MASTER_COUNT
jr nc, .ok
inc [hl]
.ok
@ -355,7 +355,7 @@ _HallOfFamePC: ; 86650
.DisplayMonAndStrings:
; Print the number of times the player has entered the Hall of Fame.
; If that number is above 200, print "HOF Master!" instead.
; If that number is at least HOF_MASTER_COUNT, print "HOF Master!" instead.
ld a, [wHallOfFameMonCounter]
cp PARTY_LENGTH
jr nc, .fail
@ -376,7 +376,7 @@ _HallOfFamePC: ; 86650
pop hl
call DisplayHOFMon
ld a, [wHallOfFameTempWinCount]
cp 200 + 1
cp HOF_MASTER_COUNT + 1 ; should be HOF_MASTER_COUNT
jr c, .print_num_hof
ld de, .HOFMaster
hlcoord 1, 2

View File

@ -11,7 +11,7 @@ __LoadTradeScreenBorder: ; 16d421
; 16d42e
Function16d42e: ; 16d42e
ld hl, Tilemap_16d465
ld hl, Tilemap_MobileTradeBorderFullscreen
decoord 0, 0
ld bc, SCREEN_WIDTH * SCREEN_HEIGHT
call CopyBytes
@ -34,13 +34,13 @@ Function16d43b: ; 16d43b
ret
; 16d465
Tilemap_16d465:
Tilemap_MobileTradeBorderFullscreen:
INCBIN "gfx/trade/border_mobile_fullscreen.tilemap"
Tilemap_16d5cd:
Tilemap_CableTradeBorderTop:
INCBIN "gfx/trade/border_cable_top.tilemap"
Tilemap_16d5f5:
Tilemap_CableTradeBorderBottom:
INCBIN "gfx/trade/border_cable_bottom.tilemap"
_LinkTextbox: ; 16d61d
@ -152,11 +152,11 @@ LoadTradeRoomBGPals_: ; 16d6a7
Function16d6ae: ; 16d6ae
call Function16d42e
ld hl, Tilemap_16d5cd
ld hl, Tilemap_CableTradeBorderTop
decoord 0, 0
ld bc, 2 * SCREEN_WIDTH
call CopyBytes
ld hl, Tilemap_16d5f5
ld hl, Tilemap_CableTradeBorderBottom
decoord 0, 16
ld bc, 2 * SCREEN_WIDTH
call CopyBytes

View File

@ -1420,7 +1420,7 @@ Function105688: ; 105688 (41:5688)
call WaitBGMap
call Function1057d7
hlcoord 3, 8
ld de, String_10572e
ld de, String_PressAToLink_BToCancel_JP
call PlaceString
call WaitBGMap
call Function10578c
@ -1451,9 +1451,9 @@ Function105688: ; 105688 (41:5688)
ld a, c
ld [wd265], a
ld hl, Text_CardNotRegistered
jr c, asm_105726
jr c, PrintTextAndExit_JP
ld hl, Text_ListedCardAsNumber
jr asm_105726
jr PrintTextAndExit_JP
Function1056eb: ; 1056eb (41:56eb)
ld c, 16
@ -1487,7 +1487,7 @@ endr
Function105712: ; 105712 (41:5712)
call Function105777
ld hl, Text_MGLinkCanceled
jr asm_105726
jr PrintTextAndExit_JP
Function10571a: ; 10571a (41:571a)
call Function105777
@ -1495,18 +1495,18 @@ Function10571a: ; 10571a (41:571a)
call PrintText
jp Function105688
asm_105726: ; 105726 (41:5726)
PrintTextAndExit_JP: ; 105726 (41:5726)
call PrintText
ld a, LCDC_DEFAULT
ld [rLCDC], a
ret
; 10572e (41:572e)
String_10572e: ; 10572e
db "エーボタン¯おすと"
String_PressAToLink_BToCancel_JP: ; 10572e
db "エーボタン<WO>おすと"
next "つうしん<PKMN>おこなわれるよ!"
next "ビーボタン¯おすと"
next "つうしん¯ちゅうし します"
next "ビーボタン<WO>おすと"
next "つうしん<WO>ちゅうし します"
db "@"
; 10575e

View File

@ -169,7 +169,7 @@ BillPhoneScript1: ; 0xbcfc5
jump .main
.main ; 0xbcfe7
farwritetext BillPhoneGeneriText
farwritetext BillPhoneGenericText
buttonsound
checkcode VAR_BOXSPACE
vartomem MEM_BUFFER_0

View File

@ -211,7 +211,8 @@ DisplayDexEntry: ; 4424d
call FarString
ret
String_44331: ; 44331
UnreferencedPOKeString: ; 44331
; unused
db "#@"
GetDexEntryPointer: ; 44333

View File

@ -1595,7 +1595,7 @@ MoveScreenLoop: ; 12fd5
lb bc, 5, SCREEN_WIDTH - 2
call ClearBox
hlcoord 1, 12
ld de, String_1316b
ld de, String_MoveWhere
call PlaceString
jp .joy_loop
.b_button
@ -1771,7 +1771,7 @@ MoveScreenAttributes: ; 13163
db D_UP | D_DOWN | D_LEFT | D_RIGHT | A_BUTTON | B_BUTTON
; 1316b
String_1316b: ; 1316b
String_MoveWhere: ; 1316b
db "Where?@"
; 13172
@ -1871,13 +1871,13 @@ PlaceMoveData: ; 13256
xor a
ld [hBGMapMode], a
hlcoord 0, 10
ld de, String_132ba
ld de, String_MoveType_Top
call PlaceString
hlcoord 0, 11
ld de, String_132c2
ld de, String_MoveType_Bottom
call PlaceString
hlcoord 12, 12
ld de, String_132ca
ld de, String_MoveAtk
call PlaceString
ld a, [wCurMove]
ld b, a
@ -1900,7 +1900,7 @@ PlaceMoveData: ; 13256
jr .description
.no_power
ld de, String_132cf
ld de, String_MoveNoPower
call PlaceString
.description
@ -1911,16 +1911,16 @@ PlaceMoveData: ; 13256
ret
; 132ba
String_132ba: ; 132ba
String_MoveType_Top: ; 132ba
db "┌─────┐@"
; 132c2
String_132c2: ; 132c2
String_MoveType_Bottom: ; 132c2
db "│TYPE/└@"
; 132ca
String_132ca: ; 132ca
String_MoveAtk: ; 132ca
db "ATK/@"
; 132cf
String_132cf: ; 132cf
String_MoveNoPower: ; 132cf
db "---@"
; 132d3

View File

@ -1,24 +1,24 @@
; rst vectors
SECTION "rst0",ROM0
SECTION "rst0", ROM0
di
jp Start
SECTION "rst8",ROM0
SECTION "rst8", ROM0 ; rst FarCall
jp FarCall_hl
SECTION "rst10",ROM0
SECTION "rst10", ROM0 ; rst Bankswitch
ld [hROMBank], a
ld [MBC3RomBank], a
ret
SECTION "rst18",ROM0
SECTION "rst18", ROM0
rst $38
SECTION "rst20",ROM0
SECTION "rst20", ROM0
rst $38
SECTION "rst28",ROM0
SECTION "rst28", ROM0 ; rst JumpTable
push de
ld e, a
ld d, 0
@ -30,8 +30,8 @@ SECTION "rst28",ROM0
pop de
jp hl
; SECTION "rst30",ROM0
; SECTION "rst30", ROM0
; rst30 is midst rst28
SECTION "rst38",ROM0
SECTION "rst38", ROM0
rst $38

View File

@ -560,7 +560,7 @@ SECTION "Special Phone Text", ROMX
INCLUDE "data/phone/text/mom.asm"
INCLUDE "data/phone/text/bill.asm"
INCLUDE "data/phone/text/elm.asm"
INCLUDE "data/phone/text/trainers1.asm"
INCLUDE "data/phone/text/trainers.asm"
SECTION "Miscellaneous Text", ROMX

View File

@ -37,6 +37,7 @@ AzaleaPokecenter1FGentlemanText:
done
AzaleaPokecenter1FUnusedText:
; unreferenced
text "This BILL guy"
line "created the system"

View File

@ -143,7 +143,7 @@ AzaleaTownSlowpokeScript:
closetext
end
WoosterScript:
UnusedWoosterScript:
; unused
faceplayer
opentext

View File

@ -40,7 +40,7 @@ BattleTower1F_MapScripts:
.Scene1:
end
MapBattleTower1FSignpost0Script:
BattleTower1FRulesSign:
opentext
writetext Text_ReadBattleTowerRules
yesorno
@ -51,7 +51,7 @@ MapBattleTower1FSignpost0Script:
closetext
end
ReceptionistScript_0x9e3e2:
BattleTower1FReceptionistScript:
writebyte BATTLETOWERACTION_GET_CHALLENGE_STATE ; copybytetovar sBattleTowerChallengeState
special BattleTowerAction
ifequal $3, Script_BeatenAllTrainers2 ; maps/BattleTowerBattleRoom.asm
@ -63,7 +63,7 @@ ReceptionistScript_0x9e3e2:
ifnotequal $0, Script_Menu_ChallengeExplanationCancel
jump Script_BattleTowerIntroductionYesNo
Script_Menu_ChallengeExplanationCancel: ; 0x9e3fc
Script_Menu_ChallengeExplanationCancel:
writetext Text_WantToGoIntoABattleRoom
writebyte TRUE
special Menu_ChallengeExplanationCancel
@ -71,7 +71,7 @@ Script_Menu_ChallengeExplanationCancel: ; 0x9e3fc
ifequal 2, Script_BattleTowerExplanation
jump Script_BattleTowerHopeToServeYouAgain
Script_ChooseChallenge: ; 0x9e40f
Script_ChooseChallenge:
writebyte BATTLETOWERACTION_RESETDATA ; ResetBattleTowerTrainerSRAM
special BattleTowerAction
special CheckForBattleTowerRules
@ -117,7 +117,7 @@ Script_WalkToBattleTowerElevator:
warpcheck
end
Script_GivePlayerHisPrize: ; 0x9e47a
Script_GivePlayerHisPrize:
writebyte BATTLETOWERACTION_1C
special BattleTowerAction
writebyte BATTLETOWERACTION_GIVEREWARD
@ -131,17 +131,17 @@ Script_GivePlayerHisPrize: ; 0x9e47a
closetext
end
Script_YourPackIsStuffedFull: ; 0x9e498
Script_YourPackIsStuffedFull:
writetext Text_YourPackIsStuffedFull
waitbutton
closetext
end
Script_BattleTowerIntroductionYesNo: ; 0x9e49e
Script_BattleTowerIntroductionYesNo:
writetext Text_WouldYouLikeToHearAboutTheBattleTower
yesorno
iffalse Script_BattleTowerSkipExplanation
Script_BattleTowerExplanation: ; 0x9e4a5
Script_BattleTowerExplanation:
writetext Text_BattleTowerIntroduction_2
Script_BattleTowerSkipExplanation:
writebyte BATTLETOWERACTION_SET_EXPLANATION_READ
@ -159,7 +159,7 @@ UnreferencedScript_0x9e4b6:
closetext
end
Script_WaitButton: ; 0x9e4bb
Script_WaitButton:
waitbutton
closetext
end
@ -223,12 +223,12 @@ UnreferencedScript_0x9e53b:
waitbutton
jump Script_BattleTowerHopeToServeYouAgain
Script_AMonLevelExceeds: ; 0x9e542
Script_AMonLevelExceeds:
writetext Text_AMonLevelExceeds
waitbutton
jump Script_Menu_ChallengeExplanationCancel
Script_MayNotEnterABattleRoomUnderL70: ; 0x9e549
Script_MayNotEnterABattleRoomUnderL70:
writetext Text_MayNotEnterABattleRoomUnderL70
waitbutton
jump Script_Menu_ChallengeExplanationCancel
@ -244,7 +244,7 @@ BattleTower_LeftWithoutSaving:
waitbutton
jump Script_BattleTowerHopeToServeYouAgain
YoungsterScript_0x9e55d:
BattleTower1FYoungsterScript:
faceplayer
opentext
writetext Text_BattleTowerYoungster
@ -253,13 +253,13 @@ YoungsterScript_0x9e55d:
turnobject BATTLETOWER1F_YOUNGSTER, RIGHT
end
CooltrainerFScript_0x9e568:
BattleTower1FCooltrainerFScript:
jumptextfaceplayer Text_BattleTowerCooltrainerF
BugCatcherScript_0x9e56b:
BattleTower1FBugCatcherScript:
jumptextfaceplayer Text_BattleTowerBugCatcher
GrannyScript_0x9e56e:
BattleTower1FGrannyScript:
jumptextfaceplayer Text_BattleTowerGranny
MovementData_BattleTower1FWalkToElevator:
@ -346,7 +346,7 @@ MovementData_BattleTowerBattleRoomPlayerTurnsToFaceNextOpponent:
turn_head RIGHT
step_end
Text_BattleTowerWelcomesYou: ; 0x9e5ab
Text_BattleTowerWelcomesYou:
text "BATTLE TOWER"
line "welcomes you!"
@ -354,17 +354,17 @@ Text_BattleTowerWelcomesYou: ; 0x9e5ab
line "to a BATTLE ROOM."
done
Text_WantToGoIntoABattleRoom: ; 0x9e5ea
Text_WantToGoIntoABattleRoom:
text "Want to go into a"
line "BATTLE ROOM?"
done
Text_RightThisWayToYourBattleRoom: ; 0x9e60a
Text_RightThisWayToYourBattleRoom:
text "Right this way to"
line "your BATTLE ROOM."
done
Text_BattleTowerIntroduction_1: ; 0x9e62f
Text_BattleTowerIntroduction_1:
text "BATTLE TOWER is a"
line "facility made for"
cont "#MON battles."
@ -424,7 +424,7 @@ Text_BattleTowerIntroduction_1: ; 0x9e62f
para ""
done
Text_BattleTowerIntroduction_2: ; 0x9e886
Text_BattleTowerIntroduction_2:
text "BATTLE TOWER is a"
line "facility made for"
cont "#MON battles."
@ -460,7 +460,7 @@ Text_BattleTowerIntroduction_2: ; 0x9e886
para ""
done
Text_ReceivedAListOfLeadersOnTheHonorRoll: ; 0x9e9eb
Text_ReceivedAListOfLeadersOnTheHonorRoll:
text "Received a list of"
line "LEADERS on the"
cont "HONOR ROLL."
@ -468,18 +468,18 @@ Text_ReceivedAListOfLeadersOnTheHonorRoll: ; 0x9e9eb
para ""
done
Text_PleaseConfirmOnThisMonitor: ; 0x9ea1b
Text_PleaseConfirmOnThisMonitor:
text "Please confirm on"
line "this monitor."
done
Text_ThankYou: ; 0x9ea3c
Text_ThankYou:
text "Thank you!"
para ""
done
Text_ThanksForVisiting: ; 0x9ea49
Text_ThanksForVisiting:
text "Thanks for"
line "visiting!"
done
@ -502,7 +502,7 @@ Text_BeatenAllTheTrainers_Mobile:
para ""
done
Text_CongratulationsYouveBeatenAllTheTrainers: ; 0x9eaef
Text_CongratulationsYouveBeatenAllTheTrainers:
text "Congratulations!"
para "You've beaten all"
@ -522,7 +522,7 @@ Text_AskRegisterRecord_Mobile:
line "CENTER?"
done
Text_PlayerGotFive: ; 0x9eb7e
Text_PlayerGotFive:
text "<PLAYER> got five"
line "@"
text_from_ram wStringBuffer4
@ -531,7 +531,7 @@ Text_PlayerGotFive: ; 0x9eb7e
text_waitbutton
db "@"
Text_YourPackIsStuffedFull: ; 0x9eb94
Text_YourPackIsStuffedFull:
text "Oops, your PACK is"
line "stuffed full."
@ -539,24 +539,24 @@ Text_YourPackIsStuffedFull: ; 0x9eb94
line "and come back."
done
Text_YourRegistrationIsComplete: ; 0x9ebd6
Text_YourRegistrationIsComplete:
text "Your registration"
line "is complete."
para "Please come again!"
done
Text_WeHopeToServeYouAgain: ; 0x9ec09
Text_WeHopeToServeYouAgain:
text "We hope to serve"
line "you again."
done
Text_PleaseStepThisWay: ; 0x9ec26
Text_PleaseStepThisWay:
text "Please step this"
line "way."
done
Text_WouldYouLikeToHearAboutTheBattleTower: ; 0x9ec3d
Text_WouldYouLikeToHearAboutTheBattleTower:
text "Would you like to"
line "hear about the"
cont "BATTLE TOWER?"
@ -582,19 +582,19 @@ Text_CantBeRegistered_PreviousRecordDeleted:
cont "deleted. OK?"
done
Text_CheckTheLeaderHonorRoll: ; 0x9ed1e
Text_CheckTheLeaderHonorRoll:
text "Check the LEADER"
line "HONOR ROLL?"
done
Text_ReadBattleTowerRules: ; 0x9ed3c
Text_ReadBattleTowerRules:
text "BATTLE TOWER rules"
line "are written here."
para "Read the rules?"
done
Text_BattleTowerRules: ; 0x9ed72
Text_BattleTowerRules:
text "Three #MON may"
line "enter battles."
@ -626,13 +626,13 @@ Text_BattleTower_LeftWithoutSaving:
line "invalid."
done
Text_YourMonWillBeHealedToFullHealth: ; 0x9ee92
Text_YourMonWillBeHealedToFullHealth:
text "Your #MON will"
line "be healed to full"
cont "health."
done
Text_NextUpOpponentNo: ; 0x9eebc
Text_NextUpOpponentNo:
text "Next up, opponent"
line "no.@"
text_from_ram wStringBuffer3
@ -647,7 +647,7 @@ Text_SaveBeforeConnecting_Mobile:
line "the CENTER."
done
Text_SaveBeforeEnteringBattleRoom: ; 0x9ef1f
Text_SaveBeforeEnteringBattleRoom:
text "Before entering"
line "the BATTLE ROOM,"
@ -655,7 +655,7 @@ Text_SaveBeforeEnteringBattleRoom: ; 0x9ef1f
line "be saved."
done
Text_SaveAndEndTheSession: ; 0x9ef5e
Text_SaveAndEndTheSession:
text "SAVE and end the"
line "session?"
done
@ -668,7 +668,7 @@ Text_SaveBeforeReentry:
line "the previous ROOM."
done
Text_CancelYourBattleRoomChallenge: ; 0x9efbf
Text_CancelYourBattleRoomChallenge:
text "Cancel your BATTLE"
line "ROOM challenge?"
done
@ -699,7 +699,7 @@ Text_FiveDayBattleLimit_Mobile:
line "tomorrow."
done
Text_TooMuchTimeElapsedNoRegister: ; 0x9f0c1
Text_TooMuchTimeElapsedNoRegister:
text "Sorry, but it's"
line "not possible to"
@ -730,7 +730,7 @@ Text_RegisterRecordTimedOut_Mobile:
cont "challenge."
done
Text_AMonLevelExceeds: ; 0x9f1e5
Text_AMonLevelExceeds:
text "One or more of"
line "your #MON's"
cont "levels exceeds @"
@ -738,7 +738,7 @@ Text_AMonLevelExceeds: ; 0x9f1e5
text "."
done
Text_MayNotEnterABattleRoomUnderL70: ; 0x9f217
Text_MayNotEnterABattleRoomUnderL70:
text_from_ram wcd49
text " may not"
line "enter a BATTLE"
@ -750,7 +750,7 @@ Text_MayNotEnterABattleRoomUnderL70: ; 0x9f217
text "."
done
Text_BattleTowerYoungster: ; 0x9f264
Text_BattleTowerYoungster:
text "Destroyed by the"
line "first opponent in"
@ -758,7 +758,7 @@ Text_BattleTowerYoungster: ; 0x9f264
line "I'm no good…"
done
Text_BattleTowerCooltrainerF: ; 0x9f2a4
Text_BattleTowerCooltrainerF:
text "There are lots of"
line "BATTLE ROOMS, but"
@ -766,7 +766,7 @@ Text_BattleTowerCooltrainerF: ; 0x9f2a4
line "them all!"
done
Text_BattleTowerGranny: ; 0x9f2e3
Text_BattleTowerGranny:
text "It's a grueling"
line "task, not being"
@ -780,7 +780,7 @@ Text_BattleTowerGranny: ; 0x9f2e3
line "winning battles."
done
Text_BattleTowerBugCatcher: ; 0x9f35b
Text_BattleTowerBugCatcher:
text "I'm trying to see"
line "how far I can go"
@ -802,11 +802,11 @@ BattleTower1F_MapEvents:
db 0 ; coord events
db 1 ; bg events
bg_event 6, 6, BGEVENT_READ, MapBattleTower1FSignpost0Script
bg_event 6, 6, BGEVENT_READ, BattleTower1FRulesSign
db 5 ; object events
object_event 7, 6, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ReceptionistScript_0x9e3e2, -1
object_event 14, 9, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, YoungsterScript_0x9e55d, -1
object_event 4, 9, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CooltrainerFScript_0x9e568, -1
object_event 1, 3, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, BugCatcherScript_0x9e56b, -1
object_event 14, 3, SPRITE_GRANNY, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GrannyScript_0x9e56e, -1
object_event 7, 6, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BattleTower1FReceptionistScript, -1
object_event 14, 9, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, BattleTower1FYoungsterScript, -1
object_event 4, 9, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, BattleTower1FCooltrainerFScript, -1
object_event 1, 3, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, BattleTower1FBugCatcherScript, -1
object_event 14, 3, SPRITE_GRANNY, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BattleTower1FGrannyScript, -1

View File

@ -9,17 +9,17 @@ BattleTowerBattleRoom_MapScripts:
db 0 ; callbacks
.EnterBattleRoom: ; 0x9f419
.EnterBattleRoom:
disappear BATTLETOWERBATTLEROOM_YOUNGSTER
priorityjump Script_BattleRoom
setscene SCENE_FINISHED
.DummyScene:
end
Script_BattleRoom: ; 0x9f421
Script_BattleRoom:
applymovement PLAYER, MovementData_BattleTowerBattleRoomPlayerWalksIn
; beat all 7 opponents in a row
Script_BattleRoomLoop: ; 0x9f425
Script_BattleRoomLoop:
writebyte BATTLETOWERBATTLEROOM_YOUNGSTER
special LoadOpponentTrainerAndPokemonWithOTSprite
appear BATTLETOWERBATTLEROOM_YOUNGSTER
@ -55,13 +55,13 @@ Script_BattleRoomLoop: ; 0x9f425
writetext Text_NextUpOpponentNo
yesorno
iffalse Script_DontBattleNextOpponent
Script_ContinueAndBattleNextOpponent: ; 0x9f477
Script_ContinueAndBattleNextOpponent:
closetext
applymovement PLAYER, MovementData_BattleTowerBattleRoomPlayerTurnsToFaceNextOpponent
applymovement BATTLETOWERBATTLEROOM_RECEPTIONIST, MovementData_BattleTowerBattleRoomReceptionistWalksAway
jump Script_BattleRoomLoop
Script_DontBattleNextOpponent: ; 0x9f483
Script_DontBattleNextOpponent:
writetext Text_SaveAndEndTheSession
yesorno
iffalse Script_DontSaveAndEndTheSession
@ -75,7 +75,7 @@ Script_DontBattleNextOpponent: ; 0x9f483
waitsfx
special FadeOutPalettes
special Reset
Script_DontSaveAndEndTheSession: ; 0x9f4a3
Script_DontSaveAndEndTheSession:
writetext Text_CancelYourBattleRoomChallenge
yesorno
iffalse Script_ContinueAndBattleNextOpponent
@ -101,7 +101,7 @@ Script_FailedBattleTowerChallenge:
closetext
end
Script_BeatenAllTrainers: ; 0x9f4d9
Script_BeatenAllTrainers:
pause 60
special BattleTowerFade
warpfacing UP, BATTLE_TOWER_1F, 7, 7

View File

@ -35,7 +35,7 @@ BattleTowerHallway_MapScripts:
; enter different rooms for different levels to battle against
; at least it should look like that
; because all warps lead to the same room
.WalkToChosenBattleRoom: ; 0x9f5dc
.WalkToChosenBattleRoom:
ifequal 3, .L30L40
ifequal 4, .L30L40
ifequal 5, .L50L60
@ -47,23 +47,23 @@ BattleTowerHallway_MapScripts:
applymovement BATTLETOWERHALLWAY_RECEPTIONIST, MovementData_BattleTowerHallwayWalkTo1020Room
jump .EnterBattleRoom
.L30L40: ; 0x9f603
.L30L40:
applymovement BATTLETOWERHALLWAY_RECEPTIONIST, MovementData_BattleTowerHallwayWalkTo3040Room
jump .EnterBattleRoom
.L50L60: ; 0x9f60a
.L50L60:
applymovement BATTLETOWERHALLWAY_RECEPTIONIST, MovementData_BattleTowerHallwayWalkTo5060Room
jump .EnterBattleRoom
.L70L80: ; 0x9f611
.L70L80:
applymovement BATTLETOWERHALLWAY_RECEPTIONIST, MovementData_BattleTowerHallwayWalkTo7080Room
jump .EnterBattleRoom
.L90L100: ; 0x9f618
.L90L100:
applymovement BATTLETOWERHALLWAY_RECEPTIONIST, MovementData_BattleTowerHallwayWalkTo90100Room
jump .EnterBattleRoom
.EnterBattleRoom: ; 0x9f61f
.EnterBattleRoom:
faceobject PLAYER, BATTLETOWERHALLWAY_RECEPTIONIST
opentext
writetext Text_PleaseStepThisWay

View File

@ -27,10 +27,11 @@ BattleTowerOutsideBuenaScript:
BattleTowerOutsideSailorScript:
jumptextfaceplayer BattleTowerOutsideSailorText
MapBattleTowerOutsideSignpost0Script:
jumptext BattleTowerOutsideText_UltimateChallenge
BattleTowerOutsideSign:
jumptext BattleTowerOutsideSignText
BattleTowerOutsideUnusedText1:
BattleTowerOutsideYoungsterText_NotYetOpen:
; unreferenced
text "Wow, the BATTLE"
line "TOWER is huge! My"
@ -38,7 +39,8 @@ BattleTowerOutsideUnusedText1:
line "looking up at it."
done
BattleTowerOutsideUnusedText2:
BattleTowerOutsideYoungsterText_Mobile:
; unreferenced
text "Wow, the BATTLE"
line "TOWER is huge!"
@ -61,7 +63,8 @@ BattleTowerOutsideYoungsterText:
cont "in there!"
done
BattleTowerOutsideUnusedText3:
BattleTowerOutsideBuenaText_NotYetOpen:
; unreferenced
text "What on earth do"
line "they do here?"
@ -83,7 +86,8 @@ BattleTowerOutsideBuenaText:
line "battle…"
done
BattleTowerOutsideUnusedText4:
BattleTowerOutsideSailorText_Mobile:
; unreferenced
text "Ehehehe…"
line "I sneaked out of"
cont "work to come here."
@ -104,12 +108,12 @@ BattleTowerOutsideSailorText:
line "all. That I must!"
done
BattleTowerOutsideText_BattleTower:
BattleTowerOutsideSignText_NotYetOpen:
; unused; originally shown when the Battle Tower was closed
text "BATTLE TOWER"
done
BattleTowerOutsideText_UltimateChallenge:
BattleTowerOutsideSignText:
text "BATTLE TOWER"
para "Take the Ultimate"
@ -139,7 +143,7 @@ BattleTowerOutside_MapEvents:
db 0 ; coord events
db 1 ; bg events
bg_event 10, 10, BGEVENT_READ, MapBattleTowerOutsideSignpost0Script
bg_event 10, 10, BGEVENT_READ, BattleTowerOutsideSign
db 4 ; object events
object_event 6, 12, SPRITE_STANDING_YOUNGSTER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, BattleTowerOutsideYoungsterScript, -1

View File

@ -12,15 +12,15 @@ BillScript:
faceplayer
opentext
checkevent EVENT_GOT_EEVEE
iftrue UnknownScript_0x54c1f
iftrue .GotEevee
writetext UnknownText_0x54c74
yesorno
iffalse UnknownScript_0x54c19
iffalse .Refused
writetext UnknownText_0x54d3f
buttonsound
waitsfx
checkcode VAR_PARTYCOUNT
ifequal PARTY_LENGTH, UnknownScript_0x54c13
ifequal PARTY_LENGTH, .NoRoom
writetext UnknownText_0x54dae
playsound SFX_CAUGHT_MON
waitsfx
@ -31,19 +31,19 @@ BillScript:
closetext
end
UnknownScript_0x54c13:
.NoRoom:
writetext UnknownText_0x54e02
waitbutton
closetext
end
UnknownScript_0x54c19:
.Refused:
writetext UnknownText_0x54e2d
waitbutton
closetext
end
UnknownScript_0x54c1f:
.GotEevee:
writetext UnknownText_0x54e42
waitbutton
closetext
@ -53,13 +53,13 @@ BillsMomScript:
faceplayer
opentext
checkevent EVENT_MET_BILL
iffalse UnknownScript_0x54c33
iffalse .HaventMetBill
writetext UnknownText_0x54ea8
waitbutton
closetext
end
UnknownScript_0x54c33:
.HaventMetBill:
writetext UnknownText_0x54f4e
waitbutton
closetext
@ -69,33 +69,33 @@ BillsSisterScript:
faceplayer
opentext
checkcellnum PHONE_BILL
iftrue UnknownScript_0x54c58
iftrue .GotBillsNumber
writetext UnknownText_0x54f9e
askforphonenumber PHONE_BILL
ifequal PHONE_CONTACTS_FULL, UnknownScript_0x54c64
ifequal PHONE_CONTACT_REFUSED, UnknownScript_0x54c5e
ifequal PHONE_CONTACTS_FULL, .NoRoom
ifequal PHONE_CONTACT_REFUSED, .Refused
waitsfx
addcellnum PHONE_BILL
writetext UnknownText_0x54fd9
playsound SFX_REGISTER_PHONE_NUMBER
waitsfx
buttonsound
UnknownScript_0x54c58: ;0x54c58
.GotBillsNumber:
writetext UnknownText_0x55069
waitbutton
closetext
end
UnknownScript_0x54c5e:
.Refused:
writetext UnknownText_0x54ff3
waitbutton
closetext
end
UnknownScript_0x54c64:
.NoRoom:
writetext UnknownText_0x55046
buttonsound
jump UnknownScript_0x54c5e
jump .Refused
BillsHouseBookshelf1:
jumpstd picturebookshelf

View File

@ -104,13 +104,13 @@ BurnedTowerB1FEusine:
waitbutton
closetext
checkcode VAR_FACING
ifequal UP, .Movement
ifequal UP, .Movement2
applymovement BURNEDTOWERB1F_EUSINE, BurnedTowerB1FEusineMovement1
jump UnknownScript_0x18622a
jump .Finish
.Movement:
.Movement2:
applymovement BURNEDTOWERB1F_EUSINE, BurnedTowerB1FEusineMovement2
UnknownScript_0x18622a:
.Finish:
disappear BURNEDTOWERB1F_EUSINE
playsound SFX_EXIT_BUILDING
waitsfx
@ -155,7 +155,8 @@ BurnedTowerSuicuneMovement2:
remove_sliding
step_end
MovementData_0x18624f:
BurnedTowerUnusedMovement:
; unreferenced
set_sliding
big_step DOWN
remove_sliding

View File

@ -158,8 +158,8 @@ CeladonCityTeacher2Text:
line "a sales clerk."
done
CeladonCityLassText_Mobile:
; unused
CeladonCityUnusedPokeComCenterText:
text "I love being"
line "surrounded by tall"
cont "buildings!"

View File

@ -9,14 +9,14 @@ CeladonDeptStore2F_MapScripts:
db 0 ; callbacks
ClerkScript_0x70bad:
CeladonDeptStore2FClerk1Script:
faceplayer
opentext
pokemart MARTTYPE_STANDARD, MART_CELADON_2F_1
closetext
end
ClerkScript_0x70bb5:
CeladonDeptStore2FClerk2Script:
faceplayer
opentext
pokemart MARTTYPE_STANDARD, MART_CELADON_2F_2
@ -81,7 +81,7 @@ CeladonDeptStore2F_MapEvents:
bg_event 3, 0, BGEVENT_READ, CeladonDeptStore2FElevatorButton
db 4 ; object events
object_event 13, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x70bad, -1
object_event 14, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x70bb5, -1
object_event 13, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore2FClerk1Script, -1
object_event 14, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore2FClerk2Script, -1
object_event 5, 2, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore2FPokefanMScript, -1
object_event 6, 2, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore2FYoungsterScript, -1

View File

@ -10,7 +10,7 @@ CeladonDeptStore3F_MapScripts:
db 0 ; callbacks
ClerkScript_0x70d29:
CeladonDeptStore3FClerkScript:
faceplayer
opentext
pokemart MARTTYPE_STANDARD, MART_CELADON_3F
@ -107,7 +107,7 @@ CeladonDeptStore3F_MapEvents:
bg_event 3, 0, BGEVENT_READ, CeladonDeptStore3FElevatorButton
db 5 ; object events
object_event 7, 1, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x70d29, -1
object_event 7, 1, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FClerkScript, -1
object_event 6, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FYoungsterScript, -1
object_event 9, 1, SPRITE_GAMEBOY_KID, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FGameboyKid1Script, -1
object_event 10, 1, SPRITE_GAMEBOY_KID, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore3FGameboyKid2Script, -1

View File

@ -8,7 +8,7 @@ CeladonDeptStore4F_MapScripts:
db 0 ; callbacks
ClerkScript_0x70f0d:
CeladonDeptStore4FClerkScript:
faceplayer
opentext
pokemart MARTTYPE_STANDARD, MART_CELADON_4F
@ -63,6 +63,6 @@ CeladonDeptStore4F_MapEvents:
bg_event 3, 0, BGEVENT_READ, CeladonDeptStore4FElevatorButton
db 3 ; object events
object_event 13, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x70f0d, -1
object_event 13, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore4FClerkScript, -1
object_event 7, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore4FSuperNerdScript, -1
object_event 8, 2, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore4FYoungsterScript, -1

View File

@ -10,14 +10,14 @@ CeladonDeptStore5F_MapScripts:
db 0 ; callbacks
ClerkScript_0x71004:
CeladonDeptStore5FClerk1Script:
faceplayer
opentext
pokemart MARTTYPE_STANDARD, MART_CELADON_5F_1
closetext
end
ClerkScript_0x7100c:
CeladonDeptStore5FClerk2Script:
faceplayer
opentext
pokemart MARTTYPE_STANDARD, MART_CELADON_5F_2
@ -84,8 +84,8 @@ CeladonDeptStore5F_MapEvents:
bg_event 3, 0, BGEVENT_READ, CeladonDeptStore5FElevatorButton
db 5 ; object events
object_event 7, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x71004, -1
object_event 8, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x7100c, -1
object_event 7, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore5FClerk1Script, -1
object_event 8, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore5FClerk2Script, -1
object_event 13, 5, SPRITE_GENTLEMAN, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore5FGentlemanScript, -1
object_event 3, 4, SPRITE_SAILOR, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore5FSailorScript, -1
object_event 1, 7, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonDeptStore5FTeacherScript, -1

View File

@ -133,16 +133,16 @@ CeladonGameCornerCardFlipScript:
CeladonGameCornerLighterScript:
jumptext CeladonGameCornerLighterText
MapCeladonGameCornerSignpost9Script:
CeladonGameCornerSodaCanScript:
opentext
writetext UnknownText_0x72567
writetext CeladonGameCornerSodaCanText
waitbutton
special CardFlip
closetext
end
MovementData_0x721cd:
; unused
CeladonGameCornerUnusedMovementData:
; unreferenced
step RIGHT
turn_head LEFT
step_end
@ -270,7 +270,7 @@ CeladonGameCornerLighterText:
line "here."
done
UnknownText_0x72567:
CeladonGameCornerSodaCanText:
text "A can of soda…"
para "Someone must be"
@ -298,7 +298,7 @@ CeladonGameCorner_MapEvents:
bg_event 6, 6, BGEVENT_READ, CeladonGameCornerCardFlipScript
bg_event 6, 7, BGEVENT_READ, CeladonGameCornerCardFlipScript
bg_event 6, 8, BGEVENT_READ, CeladonGameCornerCardFlipScript
bg_event 6, 9, BGEVENT_READ, MapCeladonGameCornerSignpost9Script
bg_event 6, 9, BGEVENT_READ, CeladonGameCornerSodaCanScript
bg_event 6, 10, BGEVENT_READ, CeladonGameCornerCardFlipScript
bg_event 6, 11, BGEVENT_RIGHT, CeladonGameCornerCardFlipScript
bg_event 7, 6, BGEVENT_READ, CeladonGameCornerLuckySlotMachineScript

View File

@ -11,7 +11,7 @@ CeladonGym_MapScripts:
db 0 ; callbacks
ErikaScript_0x72a6a:
CeladonGymErikaScript:
faceplayer
opentext
checkflag ENGINE_RAINBOWBADGE
@ -35,13 +35,13 @@ ErikaScript_0x72a6a:
setflag ENGINE_RAINBOWBADGE
.FightDone:
checkevent EVENT_GOT_TM19_GIGA_DRAIN
iftrue .AfterTM
iftrue .GotGigaDrain
writetext ErikaExplainTMText
buttonsound
verbosegiveitem TM_GIGA_DRAIN
iffalse .AfterTM
iffalse .GotGigaDrain
setevent EVENT_GOT_TM19_GIGA_DRAIN
.AfterTM:
.GotGigaDrain:
writetext ErikaAfterBattleText
waitbutton
closetext
@ -279,7 +279,7 @@ CeladonGym_MapEvents:
bg_event 6, 15, BGEVENT_READ, CeladonGymStatue
db 6 ; object events
object_event 5, 3, SPRITE_ERIKA, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ErikaScript_0x72a6a, -1
object_event 5, 3, SPRITE_ERIKA, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonGymErikaScript, -1
object_event 7, 8, SPRITE_LASS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerLassMichelle, -1
object_event 2, 8, SPRITE_LASS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 2, TrainerPicnickerTanya, -1
object_event 3, 5, SPRITE_BUENA, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerBeautyJulia, -1

View File

@ -39,7 +39,7 @@ CeladonMansion1FNidoranF:
CeladonMansionManagersSuiteSign:
jumptext CeladonMansionManagersSuiteSignText
CeladonMansion1fBookshelf:
CeladonMansion1FBookshelf:
jumpstd picturebookshelf
CeladonMansionManagerText:
@ -86,8 +86,8 @@ CeladonMansion1F_MapEvents:
db 3 ; bg events
bg_event 5, 8, BGEVENT_UP, CeladonMansionManagersSuiteSign
bg_event 0, 3, BGEVENT_READ, CeladonMansion1fBookshelf
bg_event 2, 3, BGEVENT_READ, CeladonMansion1fBookshelf
bg_event 0, 3, BGEVENT_READ, CeladonMansion1FBookshelf
bg_event 2, 3, BGEVENT_READ, CeladonMansion1FBookshelf
db 4 ; object events
object_event 1, 5, SPRITE_GRANNY, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonMansionManager, -1

View File

@ -6,8 +6,8 @@ CeladonMansion2F_MapScripts:
CeladonMansion2FComputer:
jumptext CeladonMansion2FComputerText
CeladonMansion2FSign:
jumptext CeladonMansion2FSignText
CeladonMansion2FMeetingRoomSign:
jumptext CeladonMansion2FMeetingRoomSignText
CeladonMansion2FBookshelf:
jumpstd difficultbookshelf
@ -42,7 +42,7 @@ CeladonMansion2FComputerText:
para "…"
done
CeladonMansion2FSignText:
CeladonMansion2FMeetingRoomSignText:
text "GAME FREAK"
line "MEETING ROOM"
done
@ -60,7 +60,7 @@ CeladonMansion2F_MapEvents:
db 3 ; bg events
bg_event 0, 3, BGEVENT_READ, CeladonMansion2FComputer
bg_event 5, 8, BGEVENT_UP, CeladonMansion2FSign
bg_event 5, 8, BGEVENT_UP, CeladonMansion2FMeetingRoomSign
bg_event 2, 3, BGEVENT_READ, CeladonMansion2FBookshelf
db 0 ; object events

View File

@ -9,17 +9,17 @@ CeladonMansion3F_MapScripts:
db 0 ; callbacks
CooltrainerMScript_0x71670:
CeladonMansion3FCooltrainerMScript:
faceplayer
opentext
writetext UnknownText_0x716ce
checkcode VAR_DEXCAUGHT
ifgreater NUM_POKEMON - 2 - 1, UnknownScript_0x7167e ; ignore Mew and Celebi
ifgreater NUM_POKEMON - 2 - 1, .CompletedPokedex ; ignore Mew and Celebi
waitbutton
closetext
end
UnknownScript_0x7167e:
.CompletedPokedex:
buttonsound
writetext UnknownText_0x71725
playsound SFX_DEX_FANFARE_230_PLUS
@ -33,31 +33,32 @@ UnknownScript_0x7167e:
setevent EVENT_ENABLE_DIPLOMA_PRINTING
end
GymGuyScript_0x71696:
CeladonMansion3FGymGuyScript:
faceplayer
opentext
checkevent EVENT_ENABLE_DIPLOMA_PRINTING
iftrue UnknownScript_0x716a4
iftrue .CanPrintDiploma
writetext UnknownText_0x717b4
waitbutton
closetext
end
UnknownScript_0x716a4:
.CanPrintDiploma:
writetext UnknownText_0x717d8
yesorno
iffalse UnknownScript_0x716b0
iffalse .Refused
special PrintDiploma
closetext
end
UnknownScript_0x716b0:
.Refused:
writetext UnknownText_0x71830
waitbutton
closetext
end
UnknownScript_0x716b6:
.CancelPrinting:
; unused
writetext UnknownText_0x71863
waitbutton
closetext
@ -69,17 +70,17 @@ CeladonMansion3FSuperNerdScript:
CeladonMansion3FFisherScript:
jumptextfaceplayer CeladonMansion3FFisherText
MapCeladonMansion3FSignpost0Script:
jumptext UnknownText_0x7190b
CeladonMansion3FDevRoomSign:
jumptext CeladonMansion3FDevRoomSignText
MapCeladonMansion3FSignpost1Script:
jumptext UnknownText_0x71928
CeladonMansion3FDrawing:
jumptext CeladonMansion3FDrawingText
MapCeladonMansion3FSignpost2Script:
jumptext UnknownText_0x71952
CeladonMansion3FGameProgram:
jumptext CeladonMansion3FGameProgramText
MapCeladonMansion3FSignpost3Script:
jumptext UnknownText_0x71996
CeladonMansion3FReferenceMaterial:
jumptext CeladonMansion3FReferenceMaterialText
UnknownText_0x716ce:
text "Is that right?"
@ -161,18 +162,18 @@ CeladonMansion3FFisherText:
para "Oh, I love them!"
done
UnknownText_0x7190b:
CeladonMansion3FDevRoomSignText:
text "GAME FREAK"
line "DEVELOPMENT ROOM"
done
UnknownText_0x71928:
CeladonMansion3FDrawingText:
text "It's a detailed"
line "drawing of a"
cont "pretty girl."
done
UnknownText_0x71952:
CeladonMansion3FGameProgramText:
text "It's the game"
line "program. Messing"
@ -180,7 +181,7 @@ UnknownText_0x71952:
line "a bug in the game!"
done
UnknownText_0x71996:
CeladonMansion3FReferenceMaterialText:
text "It's crammed with"
line "reference materi-"
cont "als. There's even"
@ -199,13 +200,13 @@ CeladonMansion3F_MapEvents:
db 0 ; coord events
db 4 ; bg events
bg_event 5, 8, BGEVENT_UP, MapCeladonMansion3FSignpost0Script
bg_event 4, 3, BGEVENT_UP, MapCeladonMansion3FSignpost1Script
bg_event 1, 6, BGEVENT_UP, MapCeladonMansion3FSignpost2Script
bg_event 1, 3, BGEVENT_UP, MapCeladonMansion3FSignpost3Script
bg_event 5, 8, BGEVENT_UP, CeladonMansion3FDevRoomSign
bg_event 4, 3, BGEVENT_UP, CeladonMansion3FDrawing
bg_event 1, 6, BGEVENT_UP, CeladonMansion3FGameProgram
bg_event 1, 3, BGEVENT_UP, CeladonMansion3FReferenceMaterial
db 4 ; object events
object_event 3, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CooltrainerMScript_0x71670, -1
object_event 3, 4, SPRITE_GYM_GUY, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GymGuyScript_0x71696, -1
object_event 3, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonMansion3FCooltrainerMScript, -1
object_event 3, 4, SPRITE_GYM_GUY, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonMansion3FGymGuyScript, -1
object_event 0, 7, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonMansion3FSuperNerdScript, -1
object_event 0, 4, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonMansion3FFisherScript, -1

View File

@ -9,8 +9,8 @@ CeladonMansionRoof_MapScripts:
CeladonMansionRoofFisherScript:
jumptextfaceplayer CeladonMansionRoofFisherText
MapCeladonMansionRoofSignpost0Script:
jumptext UnknownText_0x71aa1
CeladonMansionRoofGraffiti:
jumptext CeladonMansionRoofGraffitiText
CeladonMansionRoofFisherText:
text "High places--I do"
@ -23,7 +23,7 @@ CeladonMansionRoofFisherText:
line "me is smoke!"
done
UnknownText_0x71aa1:
CeladonMansionRoofGraffitiText:
text "There's graffiti"
line "on the wall…"
@ -42,7 +42,7 @@ CeladonMansionRoof_MapEvents:
db 0 ; coord events
db 1 ; bg events
bg_event 6, 1, BGEVENT_LEFT, MapCeladonMansionRoofSignpost0Script
bg_event 6, 1, BGEVENT_LEFT, CeladonMansionRoofGraffiti
db 1 ; object events
object_event 7, 5, SPRITE_FISHER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonMansionRoofFisherScript, -1

View File

@ -6,30 +6,30 @@ CeladonMansionRoofHouse_MapScripts:
db 0 ; callbacks
PharmacistScript_0x71afd:
CeladonMansionRoofHousePharmacistScript:
faceplayer
opentext
checkevent EVENT_GOT_TM03_CURSE
iftrue UnknownScript_0x71b21
iftrue .GotCurse
writetext UnknownText_0x71b27
buttonsound
checktime NITE
iftrue UnknownScript_0x71b14
iftrue .Night
writetext UnknownText_0x71b4a
waitbutton
closetext
end
UnknownScript_0x71b14:
.Night:
writetext UnknownText_0x71ba3
buttonsound
verbosegiveitem TM_CURSE
iffalse UnknownScript_0x71b25
iffalse .NoRoom
setevent EVENT_GOT_TM03_CURSE
UnknownScript_0x71b21:
.GotCurse:
writetext UnknownText_0x71db3
waitbutton
UnknownScript_0x71b25:
.NoRoom:
closetext
end
@ -126,4 +126,4 @@ CeladonMansionRoofHouse_MapEvents:
db 0 ; bg events
db 1 ; object events
object_event 3, 2, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 2, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PharmacistScript_0x71afd, -1
object_event 3, 2, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 2, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonMansionRoofHousePharmacistScript, -1

View File

@ -10,10 +10,10 @@ CeladonPokecenter1F_MapScripts:
db 0 ; callbacks
NurseScript_0x71e22:
CeladonPokecenter1FNurseScript:
jumpstd pokecenternurse
GentlemanScript_0x71e25:
CeladonPokecenter1FGentlemanScript:
jumpstd happinesschecknpc
CeladonPokecenter1FCooltrainerFScript:
@ -156,8 +156,8 @@ CeladonPokecenter1F_MapEvents:
db 0 ; bg events
db 5 ; object events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, NurseScript_0x71e22, -1
object_event 1, 5, SPRITE_GENTLEMAN, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GentlemanScript_0x71e25, -1
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FNurseScript, -1
object_event 1, 5, SPRITE_GENTLEMAN, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FGentlemanScript, -1
object_event 0, 3, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FPharmacistScript, -1
object_event 8, 6, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeladonPokecenter1FCooltrainerFScript, -1
object_event 4, 3, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeladonEusine, EVENT_SET_WHEN_FOUGHT_HO_OH

View File

@ -21,26 +21,26 @@ CeruleanGym_MapScripts:
end
.GruntRunsOutScript:
applymovement CERULEANGYM_ROCKET, MovementData_0x1884e3
applymovement CERULEANGYM_ROCKET, CeruleanGymGruntRunsDownMovement
playsound SFX_TACKLE
applymovement CERULEANGYM_ROCKET, MovementData_0x1884eb
applymovement CERULEANGYM_ROCKET, CeruleanGymGruntRunsIntoYouMovement
playmusic MUSIC_ROCKET_ENCOUNTER
opentext
writetext UnknownText_0x1884fb
waitbutton
closetext
showemote EMOTE_SHOCK, CERULEANGYM_ROCKET, 15
applymovement CERULEANGYM_ROCKET, MovementData_0x1884f7
applymovement CERULEANGYM_ROCKET, CeruleanGymGruntBacksAwayMovement
opentext
writetext UnknownText_0x188574
waitbutton
closetext
applymovement CERULEANGYM_ROCKET, MovementData_0x1884f5
applymovement CERULEANGYM_ROCKET, CeruleanGymGruntMovesCloseMovement
opentext
writetext UnknownText_0x1885a5
waitbutton
closetext
applymovement CERULEANGYM_ROCKET, MovementData_0x1884e8
applymovement CERULEANGYM_ROCKET, CeruleanGymGruntRunsOutMovement
playsound SFX_EXIT_BUILDING
disappear CERULEANGYM_ROCKET
setevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
@ -56,7 +56,7 @@ CeruleanGym_MapScripts:
pause 15
end
MistyScript_0x188432:
CeruleanGymMistyScript:
faceplayer
opentext
checkflag ENGINE_CASCADEBADGE
@ -161,19 +161,19 @@ CeruleanGymStatue:
trainertotext MISTY, MISTY1, MEM_BUFFER_1
jumpstd gymstatue2
MovementData_0x1884e3:
CeruleanGymGruntRunsDownMovement:
big_step DOWN
big_step DOWN
big_step DOWN
big_step DOWN
step_end
MovementData_0x1884e8:
CeruleanGymGruntRunsOutMovement:
big_step RIGHT
big_step DOWN
step_end
MovementData_0x1884eb:
CeruleanGymGruntRunsIntoYouMovement:
fix_facing
set_sliding
jump_step UP
@ -185,11 +185,11 @@ MovementData_0x1884eb:
step DOWN
step_end
MovementData_0x1884f5:
CeruleanGymGruntMovesCloseMovement:
big_step DOWN
step_end
MovementData_0x1884f7:
CeruleanGymGruntBacksAwayMovement:
fix_facing
slow_step UP
remove_fixed_facing
@ -376,7 +376,7 @@ CeruleanGym_MapEvents:
db 6 ; object events
object_event 4, 10, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_CERULEAN_GYM_ROCKET
object_event 5, 3, SPRITE_MISTY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, MistyScript_0x188432, EVENT_TRAINERS_IN_CERULEAN_GYM
object_event 5, 3, SPRITE_MISTY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeruleanGymMistyScript, EVENT_TRAINERS_IN_CERULEAN_GYM
object_event 4, 6, SPRITE_SWIMMER_GIRL, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 3, TrainerSwimmerfDiana, EVENT_TRAINERS_IN_CERULEAN_GYM
object_event 1, 9, SPRITE_SWIMMER_GIRL, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 1, TrainerSwimmerfBriana, EVENT_TRAINERS_IN_CERULEAN_GYM
object_event 8, 9, SPRITE_SWIMMER_GUY, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerSwimmermParker, EVENT_TRAINERS_IN_CERULEAN_GYM

View File

@ -8,21 +8,21 @@ CeruleanPokecenter1F_MapScripts:
db 0 ; callbacks
NurseScript_0x18820f:
CeruleanPokecenter1FNurseScript:
jumpstd pokecenternurse
SuperNerdScript_0x188212:
CeruleanPokecenter1FSuperNerdScript:
special Mobile_DummyReturnFalse
iftrue .mobile
jumptextfaceplayer UnknownText_0x188221
jumptextfaceplayer CeruleanPokecenter1FSuperNerdText
.mobile
jumptextfaceplayer UnknownText_0x18828c
jumptextfaceplayer CeruleanPokecenter1FSuperNerdText_Mobile
CeruleanPokecenter1FGymGuyScript:
jumptextfaceplayer CeruleanPokecenter1FGymGuyText
UnknownText_0x188221:
CeruleanPokecenter1FSuperNerdText:
text "For battles, I'd"
line "much rather use"
@ -34,7 +34,7 @@ UnknownText_0x188221:
cont "caught #MON."
done
UnknownText_0x18828c:
CeruleanPokecenter1FSuperNerdText_Mobile:
text "Do you battle by"
line "mobile phone?"
@ -73,6 +73,6 @@ CeruleanPokecenter1F_MapEvents:
db 0 ; bg events
db 3 ; object events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, NurseScript_0x18820f, -1
object_event 8, 4, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SuperNerdScript_0x188212, -1
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeruleanPokecenter1FNurseScript, -1
object_event 8, 4, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeruleanPokecenter1FSuperNerdScript, -1
object_event 1, 5, SPRITE_GYM_GUY, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeruleanPokecenter1FGymGuyScript, -1

View File

@ -15,17 +15,17 @@ CeruleanTradeSpeechHouseGrannyScript:
CeruleanTradeSpeechHouseGrampsScript:
jumptextfaceplayer CeruleanTradeSpeechHouseGrampsText
RhydonScript_0x188139:
CeruleanTradeSpeechHouseRhydonScript:
opentext
writetext UnknownText_0x18819c
writetext CeruleanTradeSpeechHouseRhydonText
cry KANGASKHAN
waitbutton
closetext
end
ZubatScript_0x188143:
CeruleanTradeSpeechHouseZubatScript:
opentext
writetext UnknownText_0x1881b5
writetext CeruleanTradeSpeechHouseZubatText
cry ZUBAT
waitbutton
closetext
@ -42,12 +42,12 @@ CeruleanTradeSpeechHouseGrampsText:
text "Ah… I'm so happy…"
done
UnknownText_0x18819c:
CeruleanTradeSpeechHouseRhydonText:
text "KANGASKHAN: Garu"
line "garuu."
done
UnknownText_0x1881b5:
CeruleanTradeSpeechHouseZubatText:
text "ZUBAT: Zuba zubaa."
done
@ -65,5 +65,5 @@ CeruleanTradeSpeechHouse_MapEvents:
db 4 ; object events
object_event 2, 4, SPRITE_GRANNY, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeruleanTradeSpeechHouseGrannyScript, -1
object_event 1, 2, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeruleanTradeSpeechHouseGrampsScript, -1
object_event 5, 2, SPRITE_RHYDON, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, RhydonScript_0x188139, -1
object_event 5, 6, SPRITE_ZUBAT, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ZubatScript_0x188143, -1
object_event 5, 2, SPRITE_RHYDON, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CeruleanTradeSpeechHouseRhydonScript, -1
object_event 5, 6, SPRITE_ZUBAT, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeruleanTradeSpeechHouseZubatScript, -1

View File

@ -110,7 +110,7 @@ CherrygroveSilverSceneNorth:
turnobject PLAYER, RIGHT
playmusic MUSIC_RIVAL_ENCOUNTER
opentext
writetext UnknownText_0x19c4e2
writetext CherrygroveRivalText_Seen
waitbutton
closetext
checkevent EVENT_GOT_TOTODILE_FROM_ELM
@ -430,7 +430,7 @@ GuideGentNoText:
line "when you like."
done
UnknownText_0x19c4e2:
CherrygroveRivalText_Seen:
text "<……> <……> <……>"
para "You got a #MON"

View File

@ -7,16 +7,16 @@ CherrygroveEvolutionSpeechHouse_MapScripts:
db 0 ; callbacks
YoungsterScript_0x196cb2:
CherrygroveEvolutionSpeechHouseYoungsterScript:
opentext
writetext UnknownText_0x196cc3
writetext CherrygroveEvolutionSpeechHouseYoungsterText
waitbutton
closetext
end
LassScript_0x196cb9:
CherrygroveEvolutionSpeechHouseLassScript:
opentext
writetext UnknownText_0x196cfc
writetext CherrygroveEvolutionSpeechHouseLassText
waitbutton
closetext
end
@ -24,7 +24,7 @@ LassScript_0x196cb9:
CherrygroveEvolutionSpeechHouseBookshelf:
jumpstd magazinebookshelf
UnknownText_0x196cc3:
CherrygroveEvolutionSpeechHouseYoungsterText:
text "#MON gain expe-"
line "rience in battle"
@ -32,7 +32,7 @@ UnknownText_0x196cc3:
line "form."
done
UnknownText_0x196cfc:
CherrygroveEvolutionSpeechHouseLassText:
text "#MON change?"
para "I would be shocked"
@ -53,5 +53,5 @@ CherrygroveEvolutionSpeechHouse_MapEvents:
bg_event 1, 1, BGEVENT_READ, CherrygroveEvolutionSpeechHouseBookshelf
db 2 ; object events
object_event 3, 5, SPRITE_LASS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, LassScript_0x196cb9, -1
object_event 2, 5, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, YoungsterScript_0x196cb2, -1
object_event 3, 5, SPRITE_LASS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CherrygroveEvolutionSpeechHouseLassScript, -1
object_event 2, 5, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CherrygroveEvolutionSpeechHouseYoungsterScript, -1

View File

@ -8,31 +8,31 @@ CherrygroveMart_MapScripts:
db 0 ; callbacks
ClerkScript_0x19680a:
CherrygroveMartClerkScript:
opentext
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x196817
iftrue .PokeBallsInStock
pokemart MARTTYPE_STANDARD, MART_CHERRYGROVE
closetext
end
UnknownScript_0x196817:
.PokeBallsInStock:
pokemart MARTTYPE_STANDARD, MART_CHERRYGROVE_DEX
closetext
end
CooltrainerMScript_0x19681d:
CherrygroveMartCooltrainerMScript:
faceplayer
opentext
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x19682b
writetext UnknownText_0x196834
iftrue .PokeBallsInStock
writetext CherrygroveMartCooltrainerMText
waitbutton
closetext
end
UnknownScript_0x19682b:
writetext UnknownText_0x196873
.PokeBallsInStock:
writetext CherrygroveMartCooltrainerMText_PokeBallsInStock
waitbutton
closetext
end
@ -40,7 +40,7 @@ UnknownScript_0x19682b:
CherrygroveMartYoungsterScript:
jumptextfaceplayer CherrygroveMartYoungsterText
UnknownText_0x196834:
CherrygroveMartCooltrainerMText:
text "They're fresh out"
line "of # BALLS!"
@ -48,7 +48,7 @@ UnknownText_0x196834:
line "more of them?"
done
UnknownText_0x196873:
CherrygroveMartCooltrainerMText_PokeBallsInStock:
text "# BALLS are in"
line "stock! Now I can"
cont "catch #MON!"
@ -81,6 +81,6 @@ CherrygroveMart_MapEvents:
db 0 ; bg events
db 3 ; object events
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x19680a, -1
object_event 7, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CooltrainerMScript_0x19681d, -1
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygroveMartClerkScript, -1
object_event 7, 6, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygroveMartCooltrainerMScript, -1
object_event 2, 5, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CherrygroveMartYoungsterScript, -1

View File

@ -9,7 +9,7 @@ CherrygrovePokecenter1F_MapScripts:
db 0 ; callbacks
NurseScript_0x19696d:
CherrygrovePokecenter1FNurseScript:
jumpstd pokecenternurse
CherrygrovePokecenter1FFisherScript:
@ -18,18 +18,18 @@ CherrygrovePokecenter1FFisherScript:
CherrygrovePokecenter1FGentlemanScript:
jumptextfaceplayer CherrygrovePokecenter1FGentlemanText
TeacherScript_0x196976:
CherrygrovePokecenter1FTeacherScript:
faceplayer
opentext
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x196984
writetext UnknownText_0x1969f1
iftrue .CommCenterOpen
writetext CherrygrovePokecenter1FTeacherText
waitbutton
closetext
end
UnknownScript_0x196984:
writetext UnknownText_0x196a46
.CommCenterOpen:
writetext CherrygrovePokecenter1FTeacherText_CommCenterOpen
waitbutton
closetext
end
@ -48,7 +48,7 @@ CherrygrovePokecenter1FGentlemanText:
cont "to use."
done
UnknownText_0x1969f1:
CherrygrovePokecenter1FTeacherText:
text "The COMMUNICATION"
line "CENTER upstairs"
cont "was just built."
@ -57,7 +57,7 @@ UnknownText_0x1969f1:
line "finishing it up."
done
UnknownText_0x196a46:
CherrygrovePokecenter1FTeacherText_CommCenterOpen:
text "The COMMUNICATION"
line "CENTER upstairs"
cont "was just built."
@ -79,7 +79,7 @@ CherrygrovePokecenter1F_MapEvents:
db 0 ; bg events
db 4 ; object events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, NurseScript_0x19696d, -1
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygrovePokecenter1FNurseScript, -1
object_event 2, 3, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CherrygrovePokecenter1FFisherScript, -1
object_event 8, 6, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CherrygrovePokecenter1FGentlemanScript, -1
object_event 1, 6, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, TeacherScript_0x196976, -1
object_event 1, 6, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CherrygrovePokecenter1FTeacherScript, -1

View File

@ -40,11 +40,11 @@ CianwoodCitySuicuneAndEusine:
showemote EMOTE_SHOCK, PLAYER, 15
pause 15
playsound SFX_WARP_FROM
applymovement CIANWOODCITY_SUICUNE, MovementData_0x1a00da
applymovement CIANWOODCITY_SUICUNE, CianwoodCitySuicuneApproachMovement
turnobject PLAYER, DOWN
pause 15
playsound SFX_WARP_FROM
applymovement CIANWOODCITY_SUICUNE, MovementData_0x1a00e0
applymovement CIANWOODCITY_SUICUNE, CianwoodCitySuicuneDepartMovement
disappear CIANWOODCITY_SUICUNE
pause 10
setscene SCENE_CIANWOODCITY_NOTHING
@ -55,7 +55,7 @@ CianwoodCitySuicuneAndEusine:
setevent EVENT_FOUGHT_EUSINE
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
appear CIANWOODCITY_EUSINE
applymovement CIANWOODCITY_EUSINE, MovementData_0x1a00e7
applymovement CIANWOODCITY_EUSINE, CianwoodCityEusineApproachMovement
opentext
writetext EusineSuicuneText
waitbutton
@ -71,7 +71,7 @@ CianwoodCitySuicuneAndEusine:
writetext EusineAfterText
waitbutton
closetext
applymovement CIANWOODCITY_EUSINE, MovementData_0x1a00ec
applymovement CIANWOODCITY_EUSINE, CianwoodCityEusineDepartMovement
disappear CIANWOODCITY_EUSINE
pause 20
special FadeOutMusic
@ -118,8 +118,9 @@ CianwoodCityPokefanM:
CianwoodCityLass:
jumptextfaceplayer CianwoodCityLassText
CianwoodCityUnknownScript:
jumptextfaceplayer CianwoodCityUnknownText
CianwoodCityUnusedScript:
; unreferenced
jumptextfaceplayer CianwoodCityUnusedText
CianwoodCitySign:
jumptext CianwoodCitySignText
@ -148,7 +149,7 @@ CianwoodCityHiddenRevive:
CianwoodCityHiddenMaxEther:
hiddenitem MAX_ETHER, EVENT_CIANWOOD_CITY_HIDDEN_MAX_ETHER
MovementData_0x1a00da:
CianwoodCitySuicuneApproachMovement:
set_sliding
fast_jump_step DOWN
fast_jump_step DOWN
@ -156,7 +157,7 @@ MovementData_0x1a00da:
remove_sliding
step_end
MovementData_0x1a00e0:
CianwoodCitySuicuneDepartMovement:
set_sliding
fast_jump_step RIGHT
fast_jump_step UP
@ -165,14 +166,14 @@ MovementData_0x1a00e0:
remove_sliding
step_end
MovementData_0x1a00e7:
CianwoodCityEusineApproachMovement:
step UP
step UP
step UP
step UP
step_end
MovementData_0x1a00ec:
CianwoodCityEusineDepartMovement:
step DOWN
step DOWN
step DOWN
@ -264,8 +265,8 @@ CianwoodCityLassText:
line "MON."
done
; possibly unused
CianwoodCityUnknownText:
CianwoodCityUnusedText:
; unused
text "There are several"
line "islands between"
cont "here and OLIVINE."

View File

@ -14,7 +14,7 @@ CianwoodGym_MapScripts:
db 0 ; callbacks
ChuckScript_0x9d60f:
CianwoodGymChuckScript:
faceplayer
opentext
checkevent EVENT_BEAT_CHUCK
@ -317,7 +317,7 @@ CianwoodGym_MapEvents:
bg_event 6, 15, BGEVENT_READ, CianwoodGymStatue
db 9 ; object events
object_event 4, 1, SPRITE_CHUCK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, ChuckScript_0x9d60f, -1
object_event 4, 1, SPRITE_CHUCK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CianwoodGymChuckScript, -1
object_event 2, 12, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerBlackbeltYoshi, -1
object_event 7, 12, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerBlackbeltLao, -1
object_event 3, 9, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 2, TrainerBlackbeltNob, -1

View File

@ -6,26 +6,26 @@ CianwoodPhotoStudio_MapScripts:
db 0 ; callbacks
FishingGuruScript_0x9e0e0:
CianwoodPhotoStudioFishingGuruScript:
faceplayer
opentext
writetext UnknownText_0x9e0f9
writetext CianwoodPhotoStudioFishingGuruText_Question
yesorno
iffalse UnknownScript_0x9e0f3
writetext UnknownText_0x9e142
iffalse .Refused
writetext CianwoodPhotoStudioFishingGuruText_Yes
waitbutton
special PhotoStudio
waitbutton
closetext
end
UnknownScript_0x9e0f3:
writetext UnknownText_0x9e156
.Refused:
writetext CianwoodPhotoStudioFishingGuruText_No
waitbutton
closetext
end
UnknownText_0x9e0f9:
CianwoodPhotoStudioFishingGuruText_Question:
text "You have magnifi-"
line "cent #MON with"
cont "you."
@ -34,11 +34,11 @@ UnknownText_0x9e0f9:
line "for a souvenir?"
done
UnknownText_0x9e142:
CianwoodPhotoStudioFishingGuruText_Yes:
text "OK! Big smile now!"
done
UnknownText_0x9e156:
CianwoodPhotoStudioFishingGuruText_No:
text "Oh, that's too"
line "bad. I thought it"
@ -58,4 +58,4 @@ CianwoodPhotoStudio_MapEvents:
db 0 ; bg events
db 1 ; object events
object_event 2, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, FishingGuruScript_0x9e0e0, -1
object_event 2, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CianwoodPhotoStudioFishingGuruScript, -1

View File

@ -9,7 +9,7 @@ CianwoodPokecenter1F_MapScripts:
db 0 ; callbacks
NurseScript_0x9dbcf:
CianwoodPokecenter1FNurseScript:
jumpstd pokecenternurse
CianwoodPokecenter1FLassScript:
@ -89,7 +89,8 @@ CianwoodGymGuyWinText:
cont "looking at you!"
done
UnknownText_0x9ddf2:
CianwoodPokecenter1FUnusedText1:
; unreferenced
text "Don't you get the"
line "urge to show off"
@ -103,7 +104,8 @@ UnknownText_0x9ddf2:
line "in VIOLET."
done
UnknownText_0x9de66:
CianwoodPokecenter1FUnusedText2:
; unreferenced
text "I've been battling"
line "my pal in VIOLET"
@ -142,7 +144,7 @@ CianwoodPokecenter1F_MapEvents:
db 0 ; bg events
db 4 ; object events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, NurseScript_0x9dbcf, -1
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodPokecenter1FNurseScript, -1
object_event 1, 5, SPRITE_LASS, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CianwoodPokecenter1FLassScript, -1
object_event 5, 3, SPRITE_GYM_GUY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CianwoodGymGuyScript, -1
object_event 8, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CianwoodPokecenter1FSuperNerdScript, -1

View File

@ -8,7 +8,7 @@ CinnabarPokecenter1F_MapScripts:
db 0 ; callbacks
NurseScript_0x1ab32c:
CinnabarPokecenter1FNurseScript:
jumpstd pokecenternurse
CinnabarPokecenter1FCooltrainerFScript:
@ -45,6 +45,6 @@ CinnabarPokecenter1F_MapEvents:
db 0 ; bg events
db 3 ; object events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, NurseScript_0x1ab32c, -1
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CinnabarPokecenter1FNurseScript, -1
object_event 7, 6, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CinnabarPokecenter1FCooltrainerFScript, -1
object_event 2, 4, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CinnabarPokecenter1FFisherScript, -1

View File

@ -43,12 +43,12 @@ Colosseum_MapScripts:
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_COLOSSEUM
end
MapColosseumSignpost1Script:
ColosseumConsoleScript:
special Colosseum
newloadmap MAPSETUP_LINKRETURN
end
ChrisScript_0x193499:
CableClubFriendScript:
opentext
writetext .FriendReadyText
waitbutton
@ -70,9 +70,9 @@ Colosseum_MapEvents:
db 0 ; coord events
db 2 ; bg events
bg_event 4, 4, BGEVENT_RIGHT, MapColosseumSignpost1Script
bg_event 5, 4, BGEVENT_LEFT, MapColosseumSignpost1Script
bg_event 4, 4, BGEVENT_RIGHT, ColosseumConsoleScript
bg_event 5, 4, BGEVENT_LEFT, ColosseumConsoleScript
db 2 ; object events
object_event 3, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ChrisScript_0x193499, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
object_event 6, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ChrisScript_0x193499, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
object_event 3, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CableClubFriendScript, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
object_event 6, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CableClubFriendScript, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2

View File

@ -11,25 +11,25 @@ CopycatsHouse1F_MapScripts:
CopycatsHouse1FPokefanMScript:
jumptextfaceplayer CopycatsHouse1FPokefanMText
PokefanFScript_0x18ad16:
CopycatsHouse1FPokefanFScript:
faceplayer
opentext
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x18ad24
writetext UnknownText_0x18ad95
iftrue .ReturnedMachinePart
writetext CopycatsHouse1FPokefanFText
waitbutton
closetext
end
UnknownScript_0x18ad24:
writetext UnknownText_0x18add3
.ReturnedMachinePart:
writetext CopycatsHouse1FPokefanFText_ReturnedMachinePart
waitbutton
closetext
end
ClefairyScript_0x18ad2a:
CopycatsHouse1FBlisseyScript:
opentext
writetext UnknownText_0x18ae4b
writetext CopycatsHouse1FBlisseyText
cry BLISSEY
waitbutton
closetext
@ -46,7 +46,7 @@ CopycatsHouse1FPokefanMText:
line "around here."
done
UnknownText_0x18ad95:
CopycatsHouse1FPokefanFText:
text "My daughter is so"
line "self-centered…"
@ -54,7 +54,7 @@ UnknownText_0x18ad95:
line "friends."
done
UnknownText_0x18add3:
CopycatsHouse1FPokefanFText_ReturnedMachinePart:
text "She recently lost"
line "the # DOLL that"
@ -66,7 +66,7 @@ UnknownText_0x18add3:
cont "better at mimicry…"
done
UnknownText_0x18ae4b:
CopycatsHouse1FBlisseyText:
text "BLISSEY: Bliisii!"
done
@ -84,5 +84,5 @@ CopycatsHouse1F_MapEvents:
db 3 ; object events
object_event 2, 3, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CopycatsHouse1FPokefanMScript, -1
object_event 5, 4, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PokefanFScript_0x18ad16, -1
object_event 6, 6, SPRITE_CLEFAIRY, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClefairyScript_0x18ad2a, -1
object_event 5, 4, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CopycatsHouse1FPokefanFScript, -1
object_event 6, 6, SPRITE_CLEFAIRY, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CopycatsHouse1FBlisseyScript, -1

View File

@ -132,8 +132,8 @@ DanceTheatreCooltrainerMScript:
DanceTheatreGrannyScript:
jumptextfaceplayer DanceTheatreGrannyText
MapDanceTheatreSignpost1Script:
jumptext FancyPanelText
DanceTheatreFancyPanel:
jumptext DanceTheatreFancyPanelText
KimonoGirlNaoko2SeenText:
text "You have lovely"
@ -329,7 +329,7 @@ DanceTheatreGrannyText:
cont "thing is possible."
done
FancyPanelText:
DanceTheatreFancyPanelText:
text "It's a fancy panel"
line "that's decorated"
cont "with flowers."
@ -345,8 +345,8 @@ DanceTheatre_MapEvents:
db 0 ; coord events
db 2 ; bg events
bg_event 5, 6, BGEVENT_UP, MapDanceTheatreSignpost1Script
bg_event 6, 6, BGEVENT_UP, MapDanceTheatreSignpost1Script
bg_event 5, 6, BGEVENT_UP, DanceTheatreFancyPanel
bg_event 6, 6, BGEVENT_UP, DanceTheatreFancyPanel
db 9 ; object events
object_event 0, 2, SPRITE_KIMONO_GIRL, SPRITEMOVEDATA_SPINCOUNTERCLOCKWISE, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 0, TrainerKimonoGirlNaoko2, -1

View File

@ -6,28 +6,28 @@ DayOfWeekSiblingsHouse_MapScripts:
db 0 ; callbacks
PokedexScript_0x7b1e4:
DayOfWeekSiblingsHousePokedexScript:
opentext
writetext UnknownText_0x7b1f9
writetext DayOfWeekSiblingsHousePokedexText1
yesorno
iffalse UnknownText_0x7b1f7
writetext UnknownText_0x7b222
iffalse .End
writetext DayOfWeekSiblingsHousePokedexText2
yesorno
iffalse UnknownText_0x7b1f7
writetext UnknownText_0x7b2b9
iffalse .End
writetext DayOfWeekSiblingsHousePokedexText3
waitbutton
UnknownText_0x7b1f7:
.End:
closetext
end
UnknownText_0x7b1f9:
DayOfWeekSiblingsHousePokedexText1:
text "There's something"
line "written here."
para "Read it?"
done
UnknownText_0x7b222:
DayOfWeekSiblingsHousePokedexText2:
text "To my brothers and"
line "sisters:"
@ -45,7 +45,7 @@ UnknownText_0x7b222:
para "Keep reading?"
done
UnknownText_0x7b2b9:
DayOfWeekSiblingsHousePokedexText3:
text "Monday, MONICA"
line "ROUTE 40"
@ -80,4 +80,4 @@ DayOfWeekSiblingsHouse_MapEvents:
db 0 ; bg events
db 1 ; object events
object_event 3, 3, SPRITE_POKEDEX, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokedexScript_0x7b1e4, -1
object_event 3, 3, SPRITE_POKEDEX, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DayOfWeekSiblingsHousePokedexScript, -1

View File

@ -154,7 +154,7 @@ DragonShrine_MapScripts:
writetext DragonShrineIUnderstandText
waitbutton
closetext
applymovement DRAGONSHRINE_CLAIR, MovementData_0x18d2e0
applymovement DRAGONSHRINE_CLAIR, DragonShrineClairTwoSlowStepsRightMovement
opentext
writetext DragonShrineHereRisingBadgeText
waitbutton
@ -170,9 +170,9 @@ DragonShrine_MapScripts:
writetext DragonShrineRisingBadgeExplanationText
waitbutton
closetext
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2ce
applymovement DRAGONSHRINE_ELDER1, DragonShrineElderWalkAway1Movement
turnobject DRAGONSHRINE_CLAIR, UP
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2d1
applymovement DRAGONSHRINE_ELDER1, DragonShrineElderWalkAway2Movement
turnobject PLAYER, UP
opentext
writetext DragonShrineElderScoldsClairText
@ -182,7 +182,7 @@ DragonShrine_MapScripts:
writetext DragonShrineSpeechlessText
waitbutton
closetext
applymovement DRAGONSHRINE_CLAIR, MovementData_0x18d2e3
applymovement DRAGONSHRINE_CLAIR, DragonShrineClairWalkOutMovement
playsound SFX_ENTER_DOOR
disappear DRAGONSHRINE_CLAIR
waitsfx
@ -349,12 +349,12 @@ DragonShrineElderWalkToClairMovement:
turn_head DOWN
step_end
MovementData_0x18d2ce:
DragonShrineElderWalkAway1Movement:
slow_step RIGHT
slow_step RIGHT
step_end
MovementData_0x18d2d1:
DragonShrineElderWalkAway2Movement:
slow_step RIGHT
turn_head DOWN
step_end
@ -377,12 +377,12 @@ DragonShrineClairSlowStepLeftMovement:
remove_fixed_facing
step_end
MovementData_0x18d2e0:
DragonShrineClairTwoSlowStepsRightMovement:
slow_step RIGHT
slow_step RIGHT
step_end
MovementData_0x18d2e3:
DragonShrineClairWalkOutMovement:
step DOWN
step DOWN
step DOWN

View File

@ -125,10 +125,9 @@ TrainerTwinsLeaandpia2:
closetext
end
PokeBallScript_0x18c95a:
; This whole script is written out rather than as an
; item fragment because it's left over from the GS
; event.
DragonsDenB1FDragonFangScript:
; This whole script is written out rather than as an itemball
; because it's left over from the GS event.
giveitem DRAGON_FANG
iffalse .BagFull
disappear DRAGONSDENB1F_POKE_BALL1
@ -151,7 +150,7 @@ PokeBallScript_0x18c95a:
closetext
end
SilverScript_0x18c97e:
DragonsDenB1FSilverScript:
playmusic MUSIC_RIVAL_ENCOUNTER
faceplayer
opentext
@ -171,7 +170,7 @@ SilverScript_0x18c97e:
special RestartMapMusic
end
MapDragonsDenB1FSignpost0Script:
DragonShrineSignpost:
jumptext DragonShrineSignpostText
DragonsDenB1FCalcium:
@ -415,15 +414,15 @@ DragonsDenB1F_MapEvents:
coord_event 19, 30, SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM, DragonsDenB1F_ClairScene
db 4 ; bg events
bg_event 18, 24, BGEVENT_READ, MapDragonsDenB1FSignpost0Script
bg_event 18, 24, BGEVENT_READ, DragonShrineSignpost
bg_event 33, 29, BGEVENT_ITEM, DragonsDenB1FHiddenRevive
bg_event 21, 17, BGEVENT_ITEM, DragonsDenB1FHiddenMaxPotion
bg_event 31, 15, BGEVENT_ITEM, DragonsDenB1FHiddenMaxElixer
db 9 ; object events
object_event 35, 16, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokeBallScript_0x18c95a, EVENT_DRAGONS_DEN_B1F_DRAGON_FANG
object_event 35, 16, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DragonsDenB1FDragonFangScript, EVENT_DRAGONS_DEN_B1F_DRAGON_FANG
object_event 14, 30, SPRITE_CLAIR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_DRAGONS_DEN_CLAIR
object_event 20, 23, SPRITE_SILVER, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SilverScript_0x18c97e, EVENT_RIVAL_DRAGONS_DEN
object_event 20, 23, SPRITE_SILVER, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DragonsDenB1FSilverScript, EVENT_RIVAL_DRAGONS_DEN
object_event 20, 8, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 4, TrainerCooltrainermDarin, -1
object_event 8, 8, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerCooltrainerfCara, -1
object_event 4, 17, SPRITE_TWIN, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerTwinsLeaandpia1, -1

View File

@ -12,7 +12,7 @@ EarlsPokemonAcademy_MapScripts:
db 0 ; callbacks
AcademyEarl:
applymovement EARLSPOKEMONACADEMY_EARL, MovementData_0x68b2d
applymovement EARLSPOKEMONACADEMY_EARL, AcademyEarlSpinMovement
faceplayer
opentext
writetext UnknownText_0x68b3b
@ -145,7 +145,7 @@ AcademyStickerMachine:
AcademyBookshelf:
jumpstd difficultbookshelf
MovementData_0x68b2d:
AcademyEarlSpinMovement:
turn_head DOWN
turn_head LEFT
turn_head UP

View File

@ -26,37 +26,37 @@ EcruteakCityGramps2Script:
EcruteakCityGramps3Script:
jumptextfaceplayer EcruteakCityGramps3Text
EcruteakCityLassScript:
jumptextfaceplayer EcruteakCityLassText
EcruteakCityLass1Script:
jumptextfaceplayer EcruteakCityLass1Text
LassScript_0x1a4015:
EcruteakCityLass2Script:
faceplayer
opentext
checkevent EVENT_RELEASED_THE_BEASTS
iftrue UnknownScript_0x1a4023
writetext UnknownText_0x1a421a
iftrue .ReleasedBeasts
writetext EcruteakCityLass2Text
waitbutton
closetext
end
UnknownScript_0x1a4023:
writetext UnknownText_0x1a4269
.ReleasedBeasts:
writetext EcruteakCityLass2Text_ReleasedBeasts
waitbutton
closetext
end
FisherScript_0x1a4029:
EcruteakCityFisherScript:
faceplayer
opentext
checkevent EVENT_JASMINE_RETURNED_TO_GYM
iftrue UnknownScript_0x1a4037
writetext UnknownText_0x1a42ac
iftrue .JasmineReturned
writetext EcruteakCityFisherText
waitbutton
closetext
end
UnknownScript_0x1a4037:
writetext UnknownText_0x1a4325
.JasmineReturned:
writetext EcruteakCityFisherText_JasmineReturned
waitbutton
closetext
end
@ -89,7 +89,7 @@ EcruteakCityHiddenHyperPotion:
hiddenitem HYPER_POTION, EVENT_ECRUTEAK_CITY_HIDDEN_HYPER_POTION
UnusedMissingDaughterText:
; This text is neither used nor referenced in the final game.
; unused
text "Oh, no. Oh, no…"
para "My daughter is"
@ -132,7 +132,7 @@ EcruteakCityGramps2Text:
cont "nice, I hear."
done
EcruteakCityLassText:
EcruteakCityLass1Text:
text "I'm going to prac-"
line "tice at the DANCE"
@ -140,7 +140,7 @@ EcruteakCityLassText:
line "join me?"
done
UnknownText_0x1a421a:
EcruteakCityLass2Text:
text "The tower that"
line "used to be here…"
@ -149,14 +149,14 @@ UnknownText_0x1a421a:
cont "taller."
done
UnknownText_0x1a4269:
EcruteakCityLass2Text_ReleasedBeasts:
text "Three big #MON"
line "ran off in differ-"
cont "ent directions."
cont "What were they?"
done
UnknownText_0x1a42ac:
EcruteakCityFisherText:
text "I heard a rumor"
line "about OLIVINE"
cont "LIGHTHOUSE."
@ -169,7 +169,7 @@ UnknownText_0x1a42ac:
cont "are in trouble."
done
UnknownText_0x1a4325:
EcruteakCityFisherText_JasmineReturned:
text "The #MON at"
line "OLIVINE LIGHTHOUSE"
cont "has been cured."
@ -292,8 +292,8 @@ EcruteakCity_MapEvents:
db 7 ; object events
object_event 18, 15, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakCityGramps1Script, -1
object_event 20, 21, SPRITE_GRAMPS, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakCityGramps2Script, -1
object_event 21, 29, SPRITE_LASS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, EcruteakCityLassScript, -1
object_event 3, 9, SPRITE_LASS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LassScript_0x1a4015, -1
object_event 9, 22, SPRITE_FISHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, FisherScript_0x1a4029, -1
object_event 21, 29, SPRITE_LASS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, EcruteakCityLass1Script, -1
object_event 3, 9, SPRITE_LASS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakCityLass2Script, -1
object_event 9, 22, SPRITE_FISHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, EcruteakCityFisherScript, -1
object_event 10, 14, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, EcruteakCityYoungsterScript, -1
object_event 3, 7, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, EcruteakCityGramps3Script, EVENT_ECRUTEAK_CITY_GRAMPS

View File

@ -21,7 +21,7 @@ EcruteakGym_MapScripts:
.DummyScene:
end
MortyScript_0x99d58:
EcruteakGymMortyScript:
faceplayer
opentext
checkevent EVENT_BEAT_MORTY
@ -80,14 +80,14 @@ EcruteakGymActivateRockets:
jumpstd radiotowerrockets
EcruteakGymClosed:
applymovement PLAYER, MovementData_0x99e5d
applymovement ECRUTEAKGYM_GRAMPS, MovementData_0x99e63
applymovement PLAYER, EcruteakGymPlayerStepUpMovement
applymovement ECRUTEAKGYM_GRAMPS, EcruteakGymGrampsSlowStepDownMovement
opentext
writetext UnknownText_0x9a49c
waitbutton
closetext
follow PLAYER, ECRUTEAKGYM_GRAMPS
applymovement PLAYER, MovementData_0x99e5f
applymovement PLAYER, EcruteakGymPlayerSlowStepDownMovement
stopfollow
special FadeOutPalettes
playsound SFX_ENTER_DOOR
@ -163,17 +163,17 @@ EcruteakGymStatue:
trainertotext MORTY, MORTY1, MEM_BUFFER_1
jumpstd gymstatue2
MovementData_0x99e5d:
EcruteakGymPlayerStepUpMovement:
step UP
step_end
MovementData_0x99e5f:
EcruteakGymPlayerSlowStepDownMovement:
fix_facing
slow_step DOWN
remove_fixed_facing
step_end
MovementData_0x99e63:
EcruteakGymGrampsSlowStepDownMovement:
slow_step DOWN
step_end
@ -429,7 +429,7 @@ EcruteakGym_MapEvents:
bg_event 6, 15, BGEVENT_READ, EcruteakGymStatue
db 7 ; object events
object_event 5, 1, SPRITE_MORTY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, MortyScript_0x99d58, -1
object_event 5, 1, SPRITE_MORTY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, EcruteakGymMortyScript, -1
object_event 2, 7, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerSageJeffrey, -1
object_event 3, 13, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSagePing, -1
object_event 7, 5, SPRITE_GRANNY, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 1, TrainerMediumMartha, -1

View File

@ -8,7 +8,7 @@ EcruteakMart_MapScripts:
db 0 ; callbacks
ClerkScript_0x99c3b:
EcruteakMartClerkScript:
opentext
pokemart MARTTYPE_STANDARD, MART_ECRUTEAK
closetext
@ -55,6 +55,6 @@ EcruteakMart_MapEvents:
db 0 ; bg events
db 3 ; object events
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x99c3b, -1
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakMartClerkScript, -1
object_event 5, 2, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, EcruteakMartSuperNerdScript, -1
object_event 6, 6, SPRITE_GRANNY, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakMartGrannyScript, -1

View File

@ -64,20 +64,20 @@ EcruteakTinTowerEntrance_CoordEvent2:
EcruteakTinTowerEntrance_CoordEvent_DontMove:
end
SageScript_0x98062:
EcruteakTinTowerEntranceSageScript:
faceplayer
opentext
checkevent EVENT_CLEARED_RADIO_TOWER
iftrue .CheckForClearBell
checkflag ENGINE_FOGBADGE
iftrue .BlockPassage_GotFogBadge
writetext UnknownText_0x980d1
writetext EcruteakTinTowerEntranceSageText
waitbutton
closetext
end
.BlockPassage_GotFogBadge:
writetext UnknownText_0x98131
writetext EcruteakTinTowerEntranceSageText_GotFogBadge
waitbutton
closetext
end
@ -86,16 +86,16 @@ SageScript_0x98062:
checkevent EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
iftrue .AllowedThrough
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iftrue .Event000
iftrue .RangClearBell
checkitem CLEAR_BELL
iftrue .RingClearBell
writetext UnknownText_0x981a4
iftrue .GotClearBell
writetext EcruteakTinTowerEntranceSageText_NoClearBell
waitbutton
closetext
end
.RingClearBell:
writetext UnknownText_0x98250
.GotClearBell:
writetext EcruteakTinTowerEntranceSageText_HearsClearBell
waitbutton
closetext
setscene SCENE_FINISHED
@ -105,29 +105,29 @@ SageScript_0x98062:
end
.AllowedThrough:
writetext UnknownText_0x9837e
writetext EcruteakTinTowerEntranceSageText_PleaseDoGoOn
waitbutton
closetext
end
.Event000:
writetext UnknownText_0x98391
.RangClearBell:
writetext EcruteakTinTowerEntranceSageText_HeardClearBell
waitbutton
closetext
end
SageScript_0x980b0:
EcruteakTinTowerEntranceWanderingSageScript:
faceplayer
opentext
checkevent EVENT_GOT_CLEAR_BELL
iftrue .GotClearBell
writetext UnknownText_0x9840b
writetext EcruteakTinTowerEntranceWanderingSageText
waitbutton
closetext
end
.GotClearBell:
writetext UnknownText_0x9846f
writetext EcruteakTinTowerEntranceWanderingSageText_GotClearBell
waitbutton
closetext
end
@ -149,7 +149,7 @@ MovementData_0x980cc:
turn_head DOWN
step_end
UnknownText_0x980d1:
EcruteakTinTowerEntranceSageText:
text "TIN TOWER is off"
line "limits to anyone"
@ -160,7 +160,7 @@ UnknownText_0x980d1:
line "have to leave."
done
UnknownText_0x98131:
EcruteakTinTowerEntranceSageText_GotFogBadge:
text "TIN TOWER is off"
line "limits to anyone"
@ -174,7 +174,7 @@ UnknownText_0x98131:
cont "right through."
done
UnknownText_0x981a4:
EcruteakTinTowerEntranceSageText_NoClearBell:
text "A momentous event"
line "has occurred."
@ -192,7 +192,7 @@ UnknownText_0x981a4:
line "understand…"
done
UnknownText_0x98250:
EcruteakTinTowerEntranceSageText_HearsClearBell:
text "A momentous event"
line "has occurred."
@ -226,11 +226,11 @@ UnknownText_0x98250:
para "Please, do go on."
done
UnknownText_0x9837e:
EcruteakTinTowerEntranceSageText_PleaseDoGoOn:
text "Please, do go on."
done
UnknownText_0x98391:
EcruteakTinTowerEntranceSageText_HeardClearBell:
text "That bell's chime"
line "is indicative of"
cont "the bearer's soul."
@ -244,7 +244,7 @@ UnknownText_0x98391:
para "Please, do go on."
done
UnknownText_0x9840b:
EcruteakTinTowerEntranceWanderingSageText:
text "The TIN TOWER"
line "ahead is a nine-"
@ -256,7 +256,7 @@ UnknownText_0x9840b:
cont "see it."
done
UnknownText_0x9846f:
EcruteakTinTowerEntranceWanderingSageText_GotClearBell:
text "The TIN TOWER"
line "shook! A #MON"
@ -292,7 +292,7 @@ EcruteakTinTowerEntrance_MapEvents:
db 0 ; bg events
db 4 ; object events
object_event 4, 6, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SageScript_0x98062, EVENT_RANG_CLEAR_BELL_1
object_event 5, 6, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SageScript_0x98062, EVENT_RANG_CLEAR_BELL_2
object_event 6, 9, SPRITE_SAGE, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SageScript_0x980b0, EVENT_ECRUTEAK_TIN_TOWER_ENTRANCE_WANDERING_SAGE
object_event 4, 6, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakTinTowerEntranceSageScript, EVENT_RANG_CLEAR_BELL_1
object_event 5, 6, SPRITE_SAGE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakTinTowerEntranceSageScript, EVENT_RANG_CLEAR_BELL_2
object_event 6, 9, SPRITE_SAGE, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakTinTowerEntranceWanderingSageScript, EVENT_ECRUTEAK_TIN_TOWER_ENTRANCE_WANDERING_SAGE
object_event 3, 11, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakTinTowerEntranceGrampsScript, EVENT_ECRUTEAK_TIN_TOWER_ENTRANCE_WANDERING_SAGE

View File

@ -152,7 +152,7 @@ LabTryToLeaveScript:
writetext LabWhereGoingText
waitbutton
closetext
applymovement PLAYER, MovementData_0x78f70
applymovement PLAYER, ElmsLab_CantLeaveMovement
end
CyndaquilPokeBallScript:
@ -619,7 +619,7 @@ ElmsLab_WalkUpToElmMovement:
turn_head LEFT
step_end
MovementData_0x78f70:
ElmsLab_CantLeaveMovement:
step UP
step_end

View File

@ -40,20 +40,20 @@ FastShip1F_MapScripts:
setscene SCENE_DEFAULT
end
SailorScript_0x75160:
FastShip1FSailor1Script:
faceplayer
opentext
checkevent EVENT_FAST_SHIP_HAS_ARRIVED
iftrue .Arrived
checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
iftrue .Olivine
writetext UnknownText_0x7523b
writetext FastShip1FSailor1Text_ToVermilion
waitbutton
closetext
end
.Olivine:
writetext UnknownText_0x7529b
writetext FastShip1FSailor1Text_ToOlivine
waitbutton
closetext
end
@ -61,7 +61,7 @@ SailorScript_0x75160:
.Arrived:
checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
iftrue ._Olivine
writetext UnknownText_0x754be
writetext FastShip1FSailor1Text_InVermilion
waitbutton
closetext
scall .LetThePlayerOut
@ -74,7 +74,7 @@ SailorScript_0x75160:
end
._Olivine:
writetext UnknownText_0x7548d
writetext FastShip1FSailor1Text_InOlivine
waitbutton
closetext
scall .LetThePlayerOut
@ -98,24 +98,24 @@ SailorScript_0x75160:
applymovement PLAYER, MovementData_0x75238
end
SailorScript_0x751d0:
FastShip1FSailor2Script:
faceplayer
opentext
checkevent EVENT_FAST_SHIP_FIRST_TIME
iftrue .Vermilion
writetext UnknownText_0x752f9
writetext FastShip1FSailor2Text_FirstTime
waitbutton
closetext
end
.Vermilion:
writetext UnknownText_0x7534f
writetext FastShip1FSailor2Text
waitbutton
closetext
end
FastShip1FSailorScript:
jumptextfaceplayer FastShip1FSailorText
FastShip1FSailor3Script:
jumptextfaceplayer FastShip1FSailor3Text
WorriedGrandpaSceneRight:
moveobject FASTSHIP1F_GENTLEMAN, 20, 6
@ -205,7 +205,7 @@ MovementData_0x75238:
step UP
step_end
UnknownText_0x7523b:
FastShip1FSailor1Text_ToVermilion:
text "FAST SHIP S.S.AQUA"
line "is en route to"
cont "VERMILION CITY."
@ -215,7 +215,7 @@ UnknownText_0x7523b:
cont "we arrive."
done
UnknownText_0x7529b:
FastShip1FSailor1Text_ToOlivine:
text "FAST SHIP S.S.AQUA"
line "is en route to"
cont "OLIVINE CITY."
@ -225,7 +225,7 @@ UnknownText_0x7529b:
cont "we arrive."
done
UnknownText_0x752f9:
FastShip1FSailor2Text_FirstTime:
text "Here's your cabin."
para "If your #MON"
@ -236,7 +236,7 @@ UnknownText_0x752f9:
line "them."
done
UnknownText_0x7534f:
FastShip1FSailor2Text:
text "Here's your cabin."
para "You can heal your"
@ -248,7 +248,7 @@ UnknownText_0x7534f:
cont "you're sleeping."
done
FastShip1FSailorText:
FastShip1FSailor3Text:
text "The passengers are"
line "all trainers."
@ -271,13 +271,13 @@ UnknownText_0x75412:
line "know!"
done
UnknownText_0x7548d:
FastShip1FSailor1Text_InOlivine:
text "FAST SHIP S.S.AQUA"
line "has arrived in"
cont "OLIVINE CITY."
done
UnknownText_0x754be:
FastShip1FSailor1Text_InVermilion:
text "FAST SHIP S.S.AQUA"
line "has arrived in"
cont "VERMILION CITY."
@ -307,7 +307,7 @@ FastShip1F_MapEvents:
db 0 ; bg events
db 4 ; object events
object_event 25, 2, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x75160, -1
object_event 14, 7, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x751d0, -1
object_event 22, 17, SPRITE_SAILOR, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FastShip1FSailorScript, -1
object_event 25, 2, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FastShip1FSailor1Script, -1
object_event 14, 7, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FastShip1FSailor2Script, -1
object_event 22, 17, SPRITE_SAILOR, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FastShip1FSailor3Script, -1
object_event 19, 6, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_FAST_SHIP_1F_GENTLEMAN

View File

@ -25,38 +25,38 @@ FastShipB1F_MapScripts:
.DummyScene1:
end
UnknownScript_0x7673c:
FastShipB1FSailorBlocksLeft:
checkevent EVENT_FAST_SHIP_B1F_SAILOR_RIGHT
iftrue UnknownScript_0x76766
applymovement FASTSHIPB1F_SAILOR2, MovementData_0x76876
iftrue FastShipB1FAlreadyBlocked
applymovement FASTSHIPB1F_SAILOR2, FashShipB1FSailorBlocksLeftMovement
moveobject FASTSHIPB1F_SAILOR1, 30, 6
appear FASTSHIPB1F_SAILOR1
pause 5
disappear FASTSHIPB1F_SAILOR2
end
UnknownScript_0x76751:
FastShipB1FSailorBlocksRight:
checkevent EVENT_FAST_SHIP_B1F_SAILOR_LEFT
iftrue UnknownScript_0x76766
applymovement FASTSHIPB1F_SAILOR1, MovementData_0x76871
iftrue FastShipB1FAlreadyBlocked
applymovement FASTSHIPB1F_SAILOR1, FashShipB1FSailorBlocksRightMovement
moveobject FASTSHIPB1F_SAILOR2, 31, 6
appear FASTSHIPB1F_SAILOR2
pause 5
disappear FASTSHIPB1F_SAILOR1
end
UnknownScript_0x76766:
FastShipB1FAlreadyBlocked:
end
SailorScript_0x76767:
FastShipB1FSailorScript:
faceplayer
opentext
checkevent EVENT_FAST_SHIP_FIRST_TIME
iftrue UnknownScript_0x767a0
iftrue .FirstTime
checkevent EVENT_FAST_SHIP_LAZY_SAILOR
iftrue UnknownScript_0x7678d
iftrue .LazySailor
checkevent EVENT_FAST_SHIP_INFORMED_ABOUT_LAZY_SAILOR
iftrue UnknownScript_0x76787
iftrue .AlreadyInformed
writetext UnknownText_0x7687b
waitbutton
closetext
@ -64,28 +64,28 @@ SailorScript_0x76767:
clearevent EVENT_FAST_SHIP_CABINS_NNW_NNE_NE_SAILOR
end
UnknownScript_0x76787:
.AlreadyInformed:
writetext UnknownText_0x76907
waitbutton
closetext
end
UnknownScript_0x7678d:
.LazySailor:
writetext UnknownText_0x7692e
checkevent EVENT_FAST_SHIP_FOUND_GIRL
iffalse UnknownScript_0x76799
iffalse .NotFoundGirl
waitbutton
closetext
end
UnknownScript_0x76799:
.NotFoundGirl:
buttonsound
writetext UnknownText_0x7696d
waitbutton
closetext
end
UnknownScript_0x767a0:
.FirstTime:
writetext UnknownText_0x7699d
waitbutton
closetext
@ -204,14 +204,14 @@ TrainerSchoolboyRicky:
FashShipB1FTrashcan:
jumpstd trashcan
MovementData_0x76871:
FashShipB1FSailorBlocksRightMovement:
fix_facing
big_step RIGHT
remove_fixed_facing
turn_head DOWN
step_end
MovementData_0x76876:
FashShipB1FSailorBlocksLeftMovement:
fix_facing
big_step LEFT
remove_fixed_facing
@ -454,15 +454,15 @@ FastShipB1F_MapEvents:
warp_event 31, 13, FAST_SHIP_1F, 12
db 2 ; coord events
coord_event 30, 7, SCENE_DEFAULT, UnknownScript_0x7673c
coord_event 31, 7, SCENE_DEFAULT, UnknownScript_0x76751
coord_event 30, 7, SCENE_DEFAULT, FastShipB1FSailorBlocksLeft
coord_event 31, 7, SCENE_DEFAULT, FastShipB1FSailorBlocksRight
db 1 ; bg events
bg_event 27, 9, BGEVENT_READ, FashShipB1FTrashcan
db 12 ; object events
object_event 30, 6, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SailorScript_0x76767, EVENT_FAST_SHIP_B1F_SAILOR_LEFT
object_event 31, 6, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SailorScript_0x76767, EVENT_FAST_SHIP_B1F_SAILOR_RIGHT
object_event 30, 6, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FastShipB1FSailorScript, EVENT_FAST_SHIP_B1F_SAILOR_LEFT
object_event 31, 6, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FastShipB1FSailorScript, EVENT_FAST_SHIP_B1F_SAILOR_RIGHT
object_event 9, 11, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSailorJeff, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
object_event 6, 4, SPRITE_LASS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 1, TrainerPicnickerDebra, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
object_event 26, 9, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerJugglerFritz, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP

View File

@ -78,7 +78,7 @@ TrainerBurglarCorey:
closetext
end
SailorScript_0x755f1:
FastShipLazySailorScript:
playmusic MUSIC_HIKER_ENCOUNTER
faceplayer
opentext
@ -98,15 +98,15 @@ SailorScript_0x755f1:
setevent EVENT_FAST_SHIP_LAZY_SAILOR
setmapscene FAST_SHIP_B1F, SCENE_FINISHED
checkcode VAR_FACING
ifequal RIGHT, UnknownScript_0x75629
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, MovementData_0x75637
ifequal RIGHT, .Movement2
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, FastShipLazySailorLeavesMovement1
playsound SFX_EXIT_BUILDING
disappear FASTSHIPCABINS_NNW_NNE_NE_SAILOR
waitsfx
end
UnknownScript_0x75629:
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, MovementData_0x7563c
.Movement2:
applymovement FASTSHIPCABINS_NNW_NNE_NE_SAILOR, FastShipLazySailorLeavesMovement2
playsound SFX_EXIT_BUILDING
disappear FASTSHIPCABINS_NNW_NNE_NE_SAILOR
waitsfx
@ -115,14 +115,14 @@ UnknownScript_0x75629:
FastShipCabins_NNW_NNE_NETrashcan:
jumpstd trashcan
MovementData_0x75637:
FastShipLazySailorLeavesMovement1:
step LEFT
step LEFT
step UP
step UP
step_end
MovementData_0x7563c:
FastShipLazySailorLeavesMovement2:
step DOWN
step LEFT
step LEFT
@ -284,6 +284,6 @@ FastShipCabins_NNW_NNE_NE_MapEvents:
object_event 1, 5, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 3, TrainerCooltrainerfCarol, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
object_event 1, 5, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPokemaniacEthan, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
object_event 4, 17, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_TRAINER, 3, TrainerHikerNoland, EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
object_event 4, 26, SPRITE_SAILOR, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SailorScript_0x755f1, EVENT_FAST_SHIP_CABINS_NNW_NNE_NE_SAILOR
object_event 4, 26, SPRITE_SAILOR, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FastShipLazySailorScript, EVENT_FAST_SHIP_CABINS_NNW_NNE_NE_SAILOR
object_event 7, 30, SPRITE_GENTLEMAN, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerGentlemanEdward, EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
object_event 2, 30, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 4, TrainerBurglarCorey, EVENT_FAST_SHIP_PASSENGERS_WESTBOUND

View File

@ -16,7 +16,7 @@ FastShipCabins_SE_SSE_CaptainsCabin_MapScripts:
db 0 ; callbacks
Unreferenced_0x75ea6:
.UnreferencedDummyScene:
end
SSAquaCaptain:

View File

@ -80,19 +80,19 @@ FastShipBed:
waitbutton
closetext
checkevent EVENT_FAST_SHIP_HAS_ARRIVED
iftrue UnknownScript_0x75ae1
iftrue .AlreadyArrived
checkevent EVENT_FAST_SHIP_FOUND_GIRL
iftrue UnknownScript_0x75ae2
iftrue .CanArrive
checkevent EVENT_FAST_SHIP_FIRST_TIME
iftrue UnknownScript_0x75ae2
UnknownScript_0x75ae1:
iftrue .CanArrive
.AlreadyArrived:
end
UnknownScript_0x75ae2:
.CanArrive:
playsound SFX_ELEVATOR_END
pause 30
checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
iftrue UnknownScript_0x75af7
iftrue .ArrivedOlivine
opentext
writetext FastShipArrivedVermilionText
waitbutton
@ -100,7 +100,7 @@ UnknownScript_0x75ae2:
setevent EVENT_FAST_SHIP_HAS_ARRIVED
end
UnknownScript_0x75af7:
.ArrivedOlivine:
opentext
writetext FastShipArrivedOlivineText
waitbutton

View File

@ -10,12 +10,12 @@ FightingDojo_MapScripts:
FightingDojoBlackBelt:
jumptextfaceplayer FightingDojoBlackBeltText
MapFightingDojoSignpost0Script:
jumptext FightingDojoSign0Text
MapFightingDojoSignpost1Script:
FightingDojoSign1:
jumptext FightingDojoSign1Text
FightingDojoSign2:
jumptext FightingDojoSign2Text
FightingDojoFocusBand:
itemball FOCUS_BAND
@ -30,12 +30,12 @@ FightingDojoBlackBeltText:
cont "training."
done
FightingDojoSign0Text:
FightingDojoSign1Text:
text "What goes around"
line "comes around!"
done
FightingDojoSign1Text:
FightingDojoSign2Text:
text "Enemies on every"
line "side!"
done
@ -50,8 +50,8 @@ FightingDojo_MapEvents:
db 0 ; coord events
db 2 ; bg events
bg_event 4, 0, BGEVENT_READ, MapFightingDojoSignpost0Script
bg_event 5, 0, BGEVENT_READ, MapFightingDojoSignpost1Script
bg_event 4, 0, BGEVENT_READ, FightingDojoSign1
bg_event 5, 0, BGEVENT_READ, FightingDojoSign2
db 2 ; object events
object_event 4, 4, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FightingDojoBlackBelt, -1

View File

@ -154,7 +154,7 @@ PicnickerCindyScript:
end
.CindyAfterScript:
writetext UnknownText_0x19620c
writetext PicnickerCindyAfterText
waitbutton
closetext
end
@ -188,7 +188,7 @@ CamperBarryScript:
end
.BarryAfterScript:
writetext UnknownText_0x19626b
writetext CamperBarryAfterText
waitbutton
closetext
end
@ -334,7 +334,7 @@ PicnickerCindyBeatenText:
line "I wanted to win!"
done
UnknownText_0x19620c:
PicnickerCindyAfterText:
text "You must be"
line "getting tired."
done
@ -351,7 +351,7 @@ CamperBarryBeatenText:
line "right on! Dang!"
done
UnknownText_0x19626b:
CamperBarryAfterText:
text "Hey, you. Was my"
line "disguise cute or"
cont "what, huh?"

View File

@ -8,7 +8,7 @@ FuchsiaMart_MapScripts:
db 0 ; callbacks
ClerkScript_0x195ce8:
FuchsiaMartClerkScript:
opentext
pokemart MARTTYPE_STANDARD, MART_FUCHSIA
closetext
@ -47,6 +47,6 @@ FuchsiaMart_MapEvents:
db 0 ; bg events
db 3 ; object events
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x195ce8, -1
object_event 1, 3, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FuchsiaMartClerkScript, -1
object_event 3, 2, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, FuchsiaMartFisherScript, -1
object_event 7, 6, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, FuchsiaMartCooltrainerFScript, -1

View File

@ -13,7 +13,7 @@ FuchsiaPokecenter1F_MapScripts:
.DummyScene:
end
NurseScript_0x196459:
FuchsiaPokecenter1FNurseScript:
jumpstd pokecenternurse
FuchsiaPokecenter1FCooltrainerMScript:
@ -22,27 +22,27 @@ FuchsiaPokecenter1FCooltrainerMScript:
FuchsiaPokecenter1FCooltrainerFScript:
jumptextfaceplayer FuchsiaPokecenter1FCooltrainerFText
JanineImpersonatorScript_0x196462:
FuchsiaPokecenter1FJanineImpersonatorScript:
faceplayer
opentext
writetext UnknownText_0x19652e
writetext FuchsiaPokecenter1FJanineImpersonatorText1
waitbutton
closetext
applymovement FUCHSIAPOKECENTER1F_JANINE_IMPERSONATOR, MovementData_0x196486
applymovement FUCHSIAPOKECENTER1F_JANINE_IMPERSONATOR, FuchsiaPokecenter1FJanineImpersonatorSpinMovement
faceplayer
variablesprite SPRITE_JANINE_IMPERSONATOR, SPRITE_JANINE
special LoadUsedSpritesGFX
opentext
writetext UnknownText_0x19654e
writetext FuchsiaPokecenter1FJanineImpersonatorText2
waitbutton
closetext
applymovement FUCHSIAPOKECENTER1F_JANINE_IMPERSONATOR, MovementData_0x196486
applymovement FUCHSIAPOKECENTER1F_JANINE_IMPERSONATOR, FuchsiaPokecenter1FJanineImpersonatorSpinMovement
faceplayer
variablesprite SPRITE_JANINE_IMPERSONATOR, SPRITE_LASS
special LoadUsedSpritesGFX
end
MovementData_0x196486:
FuchsiaPokecenter1FJanineImpersonatorSpinMovement:
turn_head DOWN
turn_head LEFT
turn_head UP
@ -76,12 +76,12 @@ FuchsiaPokecenter1FCooltrainerFText:
cont "looked identical."
done
UnknownText_0x19652e:
FuchsiaPokecenter1FJanineImpersonatorText1:
text "I'm JANINE! Hocus-"
line "pocus… Poof!"
done
UnknownText_0x19654e:
FuchsiaPokecenter1FJanineImpersonatorText2:
text "See? I look just"
line "like her now!"
done
@ -99,7 +99,7 @@ FuchsiaPokecenter1F_MapEvents:
db 0 ; bg events
db 4 ; object events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, NurseScript_0x196459, -1
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, FuchsiaPokecenter1FNurseScript, -1
object_event 8, 4, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FuchsiaPokecenter1FCooltrainerMScript, -1
object_event 1, 4, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FuchsiaPokecenter1FCooltrainerFScript, -1
object_event 5, 3, SPRITE_JANINE_IMPERSONATOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, JanineImpersonatorScript_0x196462, -1
object_event 5, 3, SPRITE_JANINE_IMPERSONATOR, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FuchsiaPokecenter1FJanineImpersonatorScript, -1

View File

@ -6,17 +6,17 @@ GoldenrodBikeShop_MapScripts:
db 0 ; callbacks
UnknownScript_0x5474f:
.UnreferencedDummyScene:
end
ClerkScript_0x54750:
GoldenrodBikeShopClerkScript:
faceplayer
opentext
checkevent EVENT_GOT_BICYCLE
iftrue UnknownScript_0x54775
iftrue .GotBicycle
writetext UnknownText_0x54787
yesorno
iffalse UnknownScript_0x5477b
iffalse .Refused
writetext UnknownText_0x547f8
buttonsound
waitsfx
@ -27,24 +27,24 @@ ClerkScript_0x54750:
itemnotify
setflag ENGINE_BIKE_SHOP_CALL_ENABLED
setevent EVENT_GOT_BICYCLE
UnknownScript_0x54775:
.GotBicycle:
writetext UnknownText_0x5485f
waitbutton
closetext
end
UnknownScript_0x5477b:
.Refused:
writetext UnknownText_0x54898
waitbutton
closetext
end
; possibly unused
UnknownScript_0x54781:
jumptext UnknownText_0x548c0
GoldenrodBikeShopJustReleasedCompactBike:
; unused
jumptext GoldenrodBikeShopJustReleasedCompactBikeText
MapGoldenrodBikeShopSignpost8Script:
jumptext UnknownText_0x548ed
GoldenrodBikeShopBicycle:
jumptext GoldenrodBikeShopBicycleText
UnknownText_0x54787:
text "…sigh… I moved"
@ -88,14 +88,14 @@ UnknownText_0x54898:
done
; possibly unused
UnknownText_0x548c0:
GoldenrodBikeShopJustReleasedCompactBikeText:
text "Just released!"
para "First-rate compact"
line "BICYCLES!"
done
UnknownText_0x548ed:
GoldenrodBikeShopBicycleText:
text "It's a shiny new"
line "BICYCLE!"
done
@ -110,15 +110,15 @@ GoldenrodBikeShop_MapEvents:
db 0 ; coord events
db 9 ; bg events
bg_event 1, 2, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
bg_event 0, 3, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
bg_event 1, 3, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
bg_event 0, 5, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
bg_event 1, 5, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
bg_event 0, 6, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
bg_event 1, 6, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
bg_event 6, 6, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
bg_event 7, 6, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
bg_event 1, 2, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 0, 3, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 1, 3, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 0, 5, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 1, 5, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 0, 6, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 1, 6, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 6, 6, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 7, 6, BGEVENT_READ, GoldenrodBikeShopBicycle
db 1 ; object events
object_event 7, 2, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x54750, -1
object_event 7, 2, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodBikeShopClerkScript, -1

View File

@ -161,34 +161,34 @@ GoldenrodCityPokefanMScript:
GoldenrodCityYoungster1Script:
jumptextfaceplayer GoldenrodCityYoungster1Text
CooltrainerFScript_0x1989e9:
GoldenrodCityCooltrainerF1Script:
faceplayer
opentext
checkevent EVENT_CLEARED_RADIO_TOWER
iftrue .ClearedRadioTower
writetext UnknownText_0x198ae6
writetext GoldenrodCityCooltrainerF1Text
waitbutton
closetext
end
.ClearedRadioTower:
writetext UnknownText_0x198b2d
writetext GoldenrodCityCooltrainerF1Text_ClearedRadioTower
waitbutton
closetext
end
CooltrainerFScript_0x1989fd:
GoldenrodCityCooltrainerF2Script:
faceplayer
opentext
checkflag ENGINE_RADIO_CARD
iftrue .GotRadioCard
writetext UnknownText_0x198b73
writetext GoldenrodCityCooltrainerF2Text
waitbutton
closetext
end
.GotRadioCard:
writetext UnknownText_0x198c14
writetext GoldenrodCityCooltrainerF2Text_GotRadioCard
waitbutton
closetext
end
@ -297,7 +297,7 @@ GoldenrodCityYoungster1Text:
line "anywhere."
done
UnknownText_0x198ae6:
GoldenrodCityCooltrainerF1Text:
text "Is that man in"
line "black dressed up"
@ -305,7 +305,7 @@ UnknownText_0x198ae6:
line "member? How silly!"
done
UnknownText_0x198b2d:
GoldenrodCityCooltrainerF1Text_ClearedRadioTower:
text "Was that man in"
line "black really part"
@ -313,7 +313,7 @@ UnknownText_0x198b2d:
line "can't believe it!"
done
UnknownText_0x198b73:
GoldenrodCityCooltrainerF2Text:
text "The RADIO TOWER in"
line "GOLDENROD CITY is"
cont "a landmark."
@ -329,7 +329,7 @@ UnknownText_0x198b73:
line "serve as a radio."
done
UnknownText_0x198c14:
GoldenrodCityCooltrainerF2Text_GotRadioCard:
text "Oh, your #GEAR"
line "works as a radio!"
done
@ -588,8 +588,8 @@ GoldenrodCity_MapEvents:
db 15 ; object events
object_event 7, 18, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodCityPokefanMScript, EVENT_GOLDENROD_CITY_CIVILIANS
object_event 30, 17, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodCityYoungster1Script, EVENT_GOLDENROD_CITY_CIVILIANS
object_event 12, 16, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CooltrainerFScript_0x1989e9, EVENT_GOLDENROD_CITY_CIVILIANS
object_event 20, 26, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WANDER, 1, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CooltrainerFScript_0x1989fd, EVENT_GOLDENROD_CITY_CIVILIANS
object_event 12, 16, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodCityCooltrainerF1Script, EVENT_GOLDENROD_CITY_CIVILIANS
object_event 20, 26, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WANDER, 1, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodCityCooltrainerF2Script, EVENT_GOLDENROD_CITY_CIVILIANS
object_event 19, 17, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodCityYoungster2Script, EVENT_GOLDENROD_CITY_CIVILIANS
object_event 17, 10, SPRITE_LASS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodCityLassScript, EVENT_GOLDENROD_CITY_CIVILIANS
object_event 11, 27, SPRITE_GRAMPS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodCityGrampsScript, EVENT_GOLDENROD_CITY_CIVILIANS

View File

@ -10,14 +10,14 @@ GoldenrodDeptStore2F_MapScripts:
db 0 ; callbacks
ClerkScript_0x55b5d:
GoldenrodDeptStore2FClerk1Script:
faceplayer
opentext
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_2F_1
closetext
end
ClerkScript_0x55b65:
GoldenrodDeptStore2FClerk2Script:
faceplayer
opentext
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_2F_2
@ -39,8 +39,8 @@ GoldenrodDeptStore2FDirectory:
GoldenrodDeptStore2FElevatorButton:
jumpstd elevatorbutton
GoldenrodDeptStore2FUnusedText1:
; unused
UnusedText_0x55b7c:
text "We intend to sell"
line "items for #MON"
cont "to hold."
@ -50,8 +50,8 @@ UnusedText_0x55b7c:
cont "MON hold it."
done
GoldenrodDeptStore2FUnusedText2:
; unused
UnusedText_0x55bd3:
text "By giving #MON"
line "items to hold, I"
@ -113,8 +113,8 @@ GoldenrodDeptStore2F_MapEvents:
bg_event 3, 0, BGEVENT_READ, GoldenrodDeptStore2FElevatorButton
db 5 ; object events
object_event 13, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x55b5d, -1
object_event 13, 6, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x55b65, -1
object_event 13, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore2FClerk1Script, -1
object_event 13, 6, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore2FClerk2Script, -1
object_event 9, 6, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore2FYoungsterScript, -1
object_event 6, 2, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore2FCooltrainerFScript, -1
object_event 2, 6, SPRITE_GENTLEMAN, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore2FGentlemanScript, -1

View File

@ -8,7 +8,7 @@ GoldenrodDeptStore3F_MapScripts:
db 0 ; callbacks
ClerkScript_0x55db8:
GoldenrodDeptStore3FClerkScript:
faceplayer
opentext
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_3F
@ -69,6 +69,6 @@ GoldenrodDeptStore3F_MapEvents:
bg_event 3, 0, BGEVENT_READ, GoldenrodDeptStore3FElevatorButton
db 3 ; object events
object_event 6, 1, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x55db8, -1
object_event 6, 1, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore3FClerkScript, -1
object_event 12, 5, SPRITE_SUPER_NERD, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore3FSuperNerdScript, -1
object_event 2, 5, SPRITE_ROCKER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore3FRockerScript, -1

View File

@ -9,7 +9,7 @@ GoldenrodDeptStore4F_MapScripts:
db 0 ; callbacks
ClerkScript_0x55ee9:
GoldenrodDeptStore4FClerkScript:
faceplayer
opentext
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_4F
@ -22,10 +22,10 @@ GoldenrodDeptStore4FCooltrainerMScript:
GoldenrodDeptStore4FBugCatcherScript:
jumptextfaceplayer GoldenrodDeptStore4FBugCatcherText
GameboyKidScript_0x55ef7:
GoldenrodDeptStore4FGameboyKidScript:
faceplayer
opentext
writetext UnknownText_0x55f74
writetext GoldenrodDeptStore4FGameboyKidText
waitbutton
closetext
turnobject GOLDENRODDEPTSTORE4F_GAMEBOY_KID, DOWN
@ -51,7 +51,7 @@ GoldenrodDeptStore4FBugCatcherText:
line "#MON's DEFENSE."
done
UnknownText_0x55f74:
GoldenrodDeptStore4FGameboyKidText:
text "Some #MON"
line "evolve only by"
@ -90,7 +90,7 @@ GoldenrodDeptStore4F_MapEvents:
bg_event 3, 0, BGEVENT_READ, GoldenrodDeptStore4FElevatorButton
db 4 ; object events
object_event 13, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x55ee9, -1
object_event 13, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore4FClerkScript, -1
object_event 11, 7, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore4FCooltrainerMScript, -1
object_event 7, 2, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore4FBugCatcherScript, -1
object_event 5, 1, SPRITE_GAMEBOY_KID, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GameboyKidScript_0x55ef7, -1
object_event 5, 1, SPRITE_GAMEBOY_KID, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore4FGameboyKidScript, -1

View File

@ -22,7 +22,7 @@ GoldenrodDeptStore5F_MapScripts:
appear GOLDENRODDEPTSTORE5F_RECEPTIONIST
return
ClerkScript_0x5609c:
GoldenrodDeptStore5FClerkScript:
faceplayer
opentext
checkevent EVENT_GOT_TM02_HEADBUTT
@ -56,7 +56,7 @@ ClerkScript_0x5609c:
closetext
end
ReceptionistScript_0x560ce:
GoldenrodDeptStore5FReceptionistScript:
faceplayer
opentext
checkcode VAR_WEEKDAY
@ -230,9 +230,9 @@ GoldenrodDeptStore5F_MapEvents:
bg_event 3, 0, BGEVENT_READ, GoldenrodDeptStore5FElevatorButton
db 6 ; object events
object_event 8, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x5609c, -1
object_event 8, 5, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore5FClerkScript, -1
object_event 3, 6, SPRITE_LASS, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore5FLassScript, -1
object_event 6, 3, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Mike, -1
object_event 13, 5, SPRITE_POKEFAN_M, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore5FPokefanMScript, -1
object_event 9, 1, SPRITE_TWIN, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, Carrie, -1
object_event 7, 5, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ReceptionistScript_0x560ce, EVENT_GOLDENROD_DEPT_STORE_5F_HAPPINESS_EVENT_LADY
object_event 7, 5, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStore5FReceptionistScript, EVENT_GOLDENROD_DEPT_STORE_5F_HAPPINESS_EVENT_LADY

View File

@ -12,19 +12,19 @@ GoldenrodDeptStoreB1F_MapScripts:
db 0 ; scene scripts
db 2 ; callbacks
callback MAPCALLBACK_TILES, UnknownScript_0x7d781
callback MAPCALLBACK_NEWMAP, UnknownScript_0x7d7ac
callback MAPCALLBACK_TILES, .ClearBoxes
callback MAPCALLBACK_NEWMAP, .Unblock
UnknownScript_0x7d781:
.ClearBoxes:
checkevent EVENT_RECEIVED_CARD_KEY
iftrue UnknownScript_0x7d78a
jump UnknownScript_0x7d791
iftrue .GotCardKey
jump .Continue
UnknownScript_0x7d78a:
.GotCardKey:
changeblock 16, 4, $0d ; floor
jump UnknownScript_0x7d791
jump .Continue
UnknownScript_0x7d791:
.Continue:
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
iftrue .Layout2
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
@ -40,7 +40,7 @@ UnknownScript_0x7d791:
changeblock 10, 12, $0d ; floor
return
UnknownScript_0x7d7ac:
.Unblock:
clearevent EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_BLOCKED_OFF
return
@ -53,7 +53,7 @@ GoldenrodDeptStoreB1FBlackBelt2Script:
GoldenrodDeptStoreB1FBlackBelt3Script:
jumptextfaceplayer GoldenrodDeptStoreB1FBlackBelt3Text
MachopScript_0x7d7b9:
GoldenrodDeptStoreB1FMachopScript:
opentext
writetext UnknownText_0x7d8bb
cry MACHOKE
@ -127,4 +127,4 @@ GoldenrodDeptStoreB1F_MapEvents:
object_event 9, 10, SPRITE_BLACK_BELT, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreB1FBlackBelt1Script, -1
object_event 4, 8, SPRITE_BLACK_BELT, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreB1FBlackBelt2Script, -1
object_event 6, 13, SPRITE_BLACK_BELT, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreB1FBlackBelt3Script, -1
object_event 7, 7, SPRITE_MACHOP, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, MachopScript_0x7d7b9, -1
object_event 7, 7, SPRITE_MACHOP, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreB1FMachopScript, -1

View File

@ -3,9 +3,9 @@ GoldenrodDeptStoreElevator_MapScripts:
db 0 ; callbacks
MapGoldenrodDeptStoreElevatorSignpost0Script:
GoldenrodDeptStoreElevatorScript:
opentext
elevator Elevator_0x566e0
elevator GoldenrodDeptStoreElevatorData
closetext
iffalse .Done
pause 5
@ -41,7 +41,7 @@ MapGoldenrodDeptStoreElevatorSignpost0Script:
.Done:
end
Elevator_0x566e0:
GoldenrodDeptStoreElevatorData:
db 7 ; floors
elevfloor FLOOR_B1F, 2, GOLDENROD_DEPT_STORE_B1F
elevfloor FLOOR_1F, 4, GOLDENROD_DEPT_STORE_1F
@ -62,6 +62,6 @@ GoldenrodDeptStoreElevator_MapEvents:
db 0 ; coord events
db 1 ; bg events
bg_event 3, 0, BGEVENT_READ, MapGoldenrodDeptStoreElevatorSignpost0Script
bg_event 3, 0, BGEVENT_READ, GoldenrodDeptStoreElevatorScript
db 0 ; object events

View File

@ -37,7 +37,7 @@ GoldenrodDeptStoreRoof_MapScripts:
setevent EVENT_GOLDENROD_SALE_ON
return
ClerkScript_0x5673f:
GoldenrodDeptStoreRoofClerkScript:
opentext
pokemart MARTTYPE_ROOFTOP, 0
closetext
@ -46,7 +46,7 @@ ClerkScript_0x5673f:
GoldenrodDeptStoreRoofPokefanFScript:
jumptextfaceplayer GoldenrodDeptStoreRoofPokefanFText
FisherScript_0x56749:
GoldenrodDeptStoreRoofFisherScript:
faceplayer
opentext
writetext UnknownText_0x567d2
@ -58,7 +58,7 @@ FisherScript_0x56749:
GoldenrodDeptStoreRoofTwinScript:
jumptextfaceplayer GoldenrodDeptStoreRoofTwinText
SuperNerdScript_0x56757:
GoldenrodDeptStoreRoofSuperNerdScript:
opentext
writetext UnknownText_0x56867
waitbutton
@ -224,11 +224,11 @@ GoldenrodDeptStoreRoof_MapEvents:
bg_event 3, 0, BGEVENT_UP, PokeDollVendingMachine
db 8 ; object events
object_event 1, 4, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x5673f, EVENT_GOLDENROD_SALE_OFF
object_event 1, 4, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofClerkScript, EVENT_GOLDENROD_SALE_OFF
object_event 10, 3, SPRITE_POKEFAN_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofPokefanFScript, -1
object_event 2, 1, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FisherScript_0x56749, -1
object_event 2, 1, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofFisherScript, -1
object_event 3, 4, SPRITE_TWIN, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofTwinScript, EVENT_GOLDENROD_SALE_ON
object_event 14, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, SuperNerdScript_0x56757, EVENT_GOLDENROD_SALE_ON
object_event 14, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofSuperNerdScript, EVENT_GOLDENROD_SALE_ON
object_event 7, 0, SPRITE_POKEFAN_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofPokefanMScript, EVENT_GOLDENROD_SALE_OFF
object_event 5, 3, SPRITE_TEACHER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofTeacherScript, EVENT_GOLDENROD_SALE_OFF
object_event 1, 6, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreRoofBugCatcherScript, EVENT_GOLDENROD_SALE_OFF

View File

@ -19,7 +19,7 @@ GoldenrodGym_MapScripts:
.DummyScene1:
end
WhitneyScript_0x5400c:
GoldenrodGymWhitneyScript:
faceplayer
checkevent EVENT_BEAT_WHITNEY
iftrue .FightDone
@ -51,7 +51,7 @@ WhitneyScript_0x5400c:
checkevent EVENT_GOT_TM45_ATTRACT
iftrue .GotAttract
checkflag ENGINE_PLAINBADGE
iftrue .GotBadge
iftrue .GotPlainBadge
writetext WhitneyWhatDoYouWantText
buttonsound
waitsfx
@ -61,11 +61,11 @@ WhitneyScript_0x5400c:
setflag ENGINE_PLAINBADGE
checkcode VAR_BADGES
scall GoldenrodGymActivateRockets
.GotBadge:
.GotPlainBadge:
writetext WhitneyPlainBadgeText
buttonsound
verbosegiveitem TM_ATTRACT
iffalse .NoRoom
iffalse .NoRoomForAttract
setevent EVENT_GOT_TM45_ATTRACT
writetext WhitneyAttractText
waitbutton
@ -75,7 +75,7 @@ WhitneyScript_0x5400c:
.GotAttract:
writetext WhitneyGoodCryText
waitbutton
.NoRoom:
.NoRoomForAttract:
closetext
end
@ -392,7 +392,7 @@ GoldenrodGym_MapEvents:
bg_event 4, 15, BGEVENT_READ, GoldenrodGymStatue
db 6 ; object events
object_event 8, 3, SPRITE_WHITNEY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, WhitneyScript_0x5400c, -1
object_event 8, 3, SPRITE_WHITNEY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodGymWhitneyScript, -1
object_event 9, 13, SPRITE_LASS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 4, TrainerLassCarrie, -1
object_event 9, 6, SPRITE_LASS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerLassBridget, -1
object_event 0, 2, SPRITE_BUENA, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerBeautyVictoria, -1

View File

@ -8,51 +8,51 @@ GoldenrodHappinessRater_MapScripts:
db 0 ; callbacks
TeacherScript_0x54953:
GoldenrodHappinessRaterTeacherScript:
faceplayer
opentext
special GetFirstPokemonHappiness
writetext UnknownText_0x549a3
writetext GoldenrodHappinessRaterTeacherText
buttonsound
ifgreater 250 - 1, UnknownScript_0x54973
ifgreater 200 - 1, UnknownScript_0x54979
ifgreater 150 - 1, UnknownScript_0x5497f
ifgreater 100 - 1, UnknownScript_0x54985
ifgreater 50 - 1, UnknownScript_0x5498b
jump UnknownScript_0x54991
ifgreater 250 - 1, .LovesYouALot
ifgreater 200 - 1, .ReallyTrustsYou
ifgreater 150 - 1, .SortOfHappy
ifgreater 100 - 1, .QuiteCute
ifgreater 50 - 1, .NotUsedToYou
jump .LooksMean
UnknownScript_0x54973:
writetext UnknownText_0x549fc
.LovesYouALot:
writetext GoldenrodHappinessRatingText_LovesYouALot
waitbutton
closetext
end
UnknownScript_0x54979:
writetext UnknownText_0x54a2c
.ReallyTrustsYou:
writetext GoldenrodHappinessRatingText_ReallyTrustsYou
waitbutton
closetext
end
UnknownScript_0x5497f:
writetext UnknownText_0x54a5a
.SortOfHappy:
writetext GoldenrodHappinessRatingText_SortOfHappy
waitbutton
closetext
end
UnknownScript_0x54985:
writetext UnknownText_0x54a8e
.QuiteCute:
writetext GoldenrodHappinessRatingText_QuiteCute
waitbutton
closetext
end
UnknownScript_0x5498b:
writetext UnknownText_0x54a9f
.NotUsedToYou:
writetext GoldenrodHappinessRatingText_NotUsedToYou
waitbutton
closetext
end
UnknownScript_0x54991:
writetext UnknownText_0x54ad1
.LooksMean:
writetext GoldenrodHappinessRatingText_LooksMean
waitbutton
closetext
end
@ -69,7 +69,7 @@ HappinessRatersHouseBookshelf:
HappinessRatersHouseRadio:
jumpstd radio2
UnknownText_0x549a3:
GoldenrodHappinessRaterTeacherText:
text "If you treat your"
line "#MON nicely,"
@ -82,35 +82,35 @@ UnknownText_0x549a3:
text "…"
done
UnknownText_0x549fc:
GoldenrodHappinessRatingText_LovesYouALot:
text "It looks really"
line "happy! It must"
cont "love you a lot."
done
UnknownText_0x54a2c:
GoldenrodHappinessRatingText_ReallyTrustsYou:
text "I get the feeling"
line "that it really"
cont "trusts you."
done
UnknownText_0x54a5a:
GoldenrodHappinessRatingText_SortOfHappy:
text "It's friendly to-"
line "ward you. It looks"
cont "sort of happy."
done
UnknownText_0x54a8e:
GoldenrodHappinessRatingText_QuiteCute:
text "It's quite cute."
done
UnknownText_0x54a9f:
GoldenrodHappinessRatingText_NotUsedToYou:
text "You should treat"
line "it better. It's"
cont "not used to you."
done
UnknownText_0x54ad1:
GoldenrodHappinessRatingText_LooksMean:
text "It doesn't seem to"
line "like you at all."
cont "It looks mean."
@ -149,6 +149,6 @@ GoldenrodHappinessRater_MapEvents:
bg_event 7, 1, BGEVENT_READ, HappinessRatersHouseRadio
db 3 ; object events
object_event 2, 4, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, TeacherScript_0x54953, -1
object_event 2, 4, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodHappinessRaterTeacherScript, -1
object_event 5, 3, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodHappinessRaterPokefanMScript, -1
object_event 5, 6, SPRITE_TWIN, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodHappinessRaterTwinScript, -1

View File

@ -11,7 +11,7 @@ GoldenrodMagnetTrainStation_MapScripts:
.DummyScene:
end
OfficerScript_0x550ec:
GoldenrodMagnetTrainStationOfficerScript:
faceplayer
opentext
checkevent EVENT_RESTORED_POWER_TO_KANTO
@ -177,5 +177,5 @@ GoldenrodMagnetTrainStation_MapEvents:
db 0 ; bg events
db 2 ; object events
object_event 9, 9, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OfficerScript_0x550ec, -1
object_event 9, 9, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodMagnetTrainStationOfficerScript, -1
object_event 11, 14, SPRITE_GENTLEMAN, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodMagnetTrainStationGentlemanScript, EVENT_GOLDENROD_TRAIN_STATION_GENTLEMAN

View File

@ -10,7 +10,7 @@ GoldenrodPokecenter1F_MapScripts:
db 0 ; callbacks
NurseScript_0x60f91:
GoldenrodPokecenter1FNurseScript:
jumpstd pokecenternurse
GoldenrodPokecenter1F_GSBallSceneLeft:
@ -83,34 +83,34 @@ GoldenrodPokecenter1FGameboyKidScript:
GoldenrodPokecenter1FLassScript:
jumptextfaceplayer GoldenrodPokecenter1FLassText
PokefanFScript_0x61024:
GoldenrodPokecenter1FPokefanF:
faceplayer
opentext
writetext UnknownText_0x623fb
waitbutton
writetext UnknownText_0x6248c
yesorno
iffalse UnknownScript_0x6104b
iffalse .NoEonMail
takeitem EON_MAIL
iffalse UnknownScript_0x6104b
iffalse .NoEonMail
writetext UnknownText_0x62549
waitbutton
writetext UnknownText_0x624a4
waitbutton
verbosegiveitem REVIVE
iffalse UnknownScript_0x61051
iffalse .NoRoom
writetext UnknownText_0x624e9
waitbutton
closetext
end
UnknownScript_0x6104b:
.NoEonMail:
writetext UnknownText_0x62509
waitbutton
closetext
end
UnknownScript_0x61051:
.NoRoom:
giveitem EON_MAIL
writetext UnknownText_0x6252a
waitbutton
@ -818,8 +818,8 @@ GoldenrodPokecenter1F_MapEvents:
db 0 ; bg events
db 5 ; object events
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, NurseScript_0x60f91, -1
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodPokecenter1FNurseScript, -1
object_event 16, 8, SPRITE_LINK_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ObjectEvent, -1
object_event 6, 1, SPRITE_GAMEBOY_KID, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodPokecenter1FGameboyKidScript, -1
object_event 1, 4, SPRITE_LASS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodPokecenter1FLassScript, -1
object_event 7, 5, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, PokefanFScript_0x61024, -1
object_event 7, 5, SPRITE_POKEFAN_F, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, GoldenrodPokecenter1FPokefanF, -1

View File

@ -152,7 +152,7 @@ TrainerPokemaniacDonald:
closetext
end
GrannyScript_0x7c132:
BitterMerchantScript:
opentext
checkcode VAR_WEEKDAY
ifequal SUNDAY, .Open
@ -164,7 +164,7 @@ GrannyScript_0x7c132:
closetext
end
GrampsScript_0x7c146:
BargainMerchantScript:
opentext
checkflag ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED
iftrue GoldenrodUndergroundScript_ShopClosed
@ -239,10 +239,10 @@ OlderHaircutBrotherScript:
writetext UnknownText_0x7c6d8
waitbutton
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iftrue UnknownScript_0x7c2bb
iftrue EitherHaircutBrotherScript_SlightlyHappier
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
iftrue UnknownScript_0x7c2c4
jump UnknownScript_0x7c2cd
iftrue EitherHaircutBrotherScript_Happier
jump EitherHaircutBrotherScript_MuchHappier
.Refused:
writetext UnknownText_0x7c6ea
@ -322,10 +322,10 @@ YoungerHaircutBrotherScript:
writetext UnknownText_0x7c82a
waitbutton
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iftrue UnknownScript_0x7c2bb
iftrue EitherHaircutBrotherScript_SlightlyHappier
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
iftrue UnknownScript_0x7c2c4
jump UnknownScript_0x7c2cd
iftrue EitherHaircutBrotherScript_Happier
jump EitherHaircutBrotherScript_MuchHappier
.Refused:
writetext UnknownText_0x7c842
@ -345,21 +345,21 @@ YoungerHaircutBrotherScript:
closetext
end
UnknownScript_0x7c2bb:
EitherHaircutBrotherScript_SlightlyHappier:
writetext HaircutBrosText_SlightlyHappier
special PlayCurMonCry
waitbutton
closetext
end
UnknownScript_0x7c2c4:
EitherHaircutBrotherScript_Happier:
writetext HaircutBrosText_Happier
special PlayCurMonCry
waitbutton
closetext
end
UnknownScript_0x7c2cd:
EitherHaircutBrotherScript_MuchHappier:
writetext HaircutBrosText_MuchHappier
special PlayCurMonCry
waitbutton
@ -403,8 +403,8 @@ GoldenrodUndergroundScript_ShopClosed:
GoldenrodUndergroundCoinCase:
itemball COIN_CASE
MapGoldenrodUndergroundSignpost1Script:
jumptext UnknownText_0x7c91a
GoldenrodUndergroundNoEntrySign:
jumptext GoldenrodUndergroundNoEntryText
GoldenrodUndergroundHiddenParlyzHeal:
hiddenitem PARLYZ_HEAL, EVENT_GOLDENROD_UNDERGROUND_HIDDEN_PARLYZ_HEAL
@ -639,7 +639,7 @@ UnknownText_0x7c904:
line "today."
done
UnknownText_0x7c91a:
GoldenrodUndergroundNoEntryText:
text "NO ENTRY BEYOND"
line "THIS POINT"
done
@ -659,7 +659,7 @@ GoldenrodUnderground_MapEvents:
db 5 ; bg events
bg_event 18, 6, BGEVENT_READ, BasementDoorScript
bg_event 19, 6, BGEVENT_READ, MapGoldenrodUndergroundSignpost1Script
bg_event 19, 6, BGEVENT_READ, GoldenrodUndergroundNoEntrySign
bg_event 6, 13, BGEVENT_ITEM, GoldenrodUndergroundHiddenParlyzHeal
bg_event 4, 18, BGEVENT_ITEM, GoldenrodUndergroundHiddenSuperPotion
bg_event 17, 8, BGEVENT_ITEM, GoldenrodUndergroundHiddenAntidote
@ -670,7 +670,7 @@ GoldenrodUnderground_MapEvents:
object_event 3, 27, SPRITE_SUPER_NERD, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 2, TrainerPokemaniacIssac, -1
object_event 2, 6, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerPokemaniacDonald, -1
object_event 7, 25, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundCoinCase, EVENT_GOLDENROD_UNDERGROUND_COIN_CASE
object_event 7, 11, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, GrampsScript_0x7c146, EVENT_GOLDENROD_UNDERGROUND_GRAMPS
object_event 7, 11, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, BargainMerchantScript, EVENT_GOLDENROD_UNDERGROUND_GRAMPS
object_event 7, 14, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, OlderHaircutBrotherScript, EVENT_GOLDENROD_UNDERGROUND_OLDER_HAIRCUT_BROTHER
object_event 7, 15, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, YoungerHaircutBrotherScript, EVENT_GOLDENROD_UNDERGROUND_YOUNGER_HAIRCUT_BROTHER
object_event 7, 21, SPRITE_GRANNY, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, GrannyScript_0x7c132, EVENT_GOLDENROD_UNDERGROUND_GRANNY
object_event 7, 21, SPRITE_GRANNY, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, BitterMerchantScript, EVENT_GOLDENROD_UNDERGROUND_GRANNY

View File

@ -110,10 +110,10 @@ GoldenrodUndergroundSwitchRoomEntrances_MapScripts:
.false14
return
SuperNerdScript_0x7ca7a:
GoldenrodUndergroundSwitchRoomEntrancesSuperNerdScript:
jumptextfaceplayer GoldenrodUndergroundSwitchRoomEntrances_SuperNerdText
TeacherScript_0x7ca7d:
GoldenrodUndergroundSwitchRoomEntrancesTeacherScript:
jumptextfaceplayer GoldenrodUndergroundSwitchRoomEntrances_TeacherText
UndergroundSilverScene1:
@ -961,8 +961,8 @@ GoldenrodUndergroundSwitchRoomEntrances_MapEvents:
object_event 11, 2, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM11, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 3, 2, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM25, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 19, 12, SPRITE_ROCKET_GIRL, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerGruntF3, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 3, 27, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, TeacherScript_0x7ca7d, -1
object_event 19, 27, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SuperNerdScript_0x7ca7a, -1
object_event 3, 27, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodUndergroundSwitchRoomEntrancesTeacherScript, -1
object_event 19, 27, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodUndergroundSwitchRoomEntrancesSuperNerdScript, -1
object_event 1, 12, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundSwitchRoomEntrancesSmokeBall, EVENT_GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES_SMOKE_BALL
object_event 14, 9, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundSwitchRoomEntrancesFullHeal, EVENT_GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES_FULL_HEAL
object_event 23, 3, SPRITE_SILVER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_GOLDENROD_UNDERGROUND

View File

@ -66,11 +66,11 @@ TrainerGruntM15:
closetext
end
GentlemanScript_0x7d9bf:
GoldenrodUndergroundWarehouseDirectorScript:
faceplayer
opentext
checkevent EVENT_RECEIVED_CARD_KEY
iftrue UnknownScript_0x7d9de
iftrue .GotCardKey
writetext UnknownText_0x7dbc6
buttonsound
verbosegiveitem CARD_KEY
@ -80,7 +80,7 @@ GentlemanScript_0x7d9bf:
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
writetext UnknownText_0x7dc5b
buttonsound
UnknownScript_0x7d9de:
.GotCardKey:
writetext UnknownText_0x7dc8d
waitbutton
closetext
@ -224,7 +224,7 @@ GoldenrodUndergroundWarehouse_MapEvents:
object_event 9, 8, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM24, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 8, 15, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM14, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 14, 3, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 4, TrainerGruntM15, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 12, 8, SPRITE_GENTLEMAN, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GentlemanScript_0x7d9bf, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 12, 8, SPRITE_GENTLEMAN, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GoldenrodUndergroundWarehouseDirectorScript, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
object_event 18, 15, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundWarehouseMaxEther, EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_MAX_ETHER
object_event 13, 9, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundWarehouseTMSleepTalk, EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_TM_SLEEP_TALK
object_event 2, 1, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodUndergroundWarehouseUltraBall, EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_ULTRA_BALL

View File

@ -424,10 +424,10 @@ IlexForestBoulder:
; unused
jumpstd strengthboulder
MapIlexForestSignpost0Script:
jumptext Text_IlexForestSignpost0
IlexForestSignpost:
jumptext IlexForestSignpostText
MapIlexForestSignpost4Script:
IlexForestShrineScript:
checkevent EVENT_FOREST_IS_RESTLESS
iftrue .ForestIsRestless
jump .DontDoCelebiEvent
@ -843,7 +843,7 @@ Text_IlexForestLass:
cont "forest's guardian?"
done
Text_IlexForestSignpost0:
IlexForestSignpostText:
text "ILEX FOREST is"
line "so overgrown with"
@ -946,11 +946,11 @@ IlexForest_MapEvents:
db 0 ; coord events
db 5 ; bg events
bg_event 3, 17, BGEVENT_READ, MapIlexForestSignpost0Script
bg_event 3, 17, BGEVENT_READ, IlexForestSignpost
bg_event 11, 7, BGEVENT_ITEM, IlexForestHiddenEther
bg_event 22, 14, BGEVENT_ITEM, IlexForestHiddenSuperPotion
bg_event 1, 17, BGEVENT_ITEM, IlexForestHiddenFullHeal
bg_event 8, 22, BGEVENT_UP, MapIlexForestSignpost4Script
bg_event 8, 22, BGEVENT_UP, IlexForestShrineScript
db 11 ; object events
object_event 14, 31, SPRITE_BIRD, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, IlexForestFarfetchdScript, EVENT_ILEX_FOREST_FARFETCHD

View File

@ -134,10 +134,10 @@ PlateauRivalPostBattle:
PlateauRivalScriptDone:
end
NurseScript_0x18012c:
IndigoPlateauPokecenter1FNurseScript:
jumpstd pokecenternurse
ClerkScript_0x18012f:
IndigoPlateauPokecenter1FClerkScript:
opentext
pokemart MARTTYPE_STANDARD, MART_INDIGO_PLATEAU
closetext
@ -316,8 +316,8 @@ IndigoPlateauPokecenter1F_MapEvents:
db 0 ; bg events
db 6 ; object events
object_event 3, 7, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, NurseScript_0x18012c, -1
object_event 11, 7, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x18012f, -1
object_event 3, 7, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, IndigoPlateauPokecenter1FNurseScript, -1
object_event 11, 7, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, IndigoPlateauPokecenter1FClerkScript, -1
object_event 11, 11, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, IndigoPlateauPokecenter1FCooltrainerMScript, -1
object_event 16, 9, SPRITE_SILVER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_INDIGO_PLATEAU_POKECENTER_RIVAL
object_event 1, 9, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, TeleportGuyScript, EVENT_TELEPORT_GUY

View File

@ -28,7 +28,7 @@ KarensRoom_MapScripts:
return
.KarensDoorLocksBehindYou:
applymovement PLAYER, KarensMovementData_0x18078e
applymovement PLAYER, KarensRoom_EnterMovement
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80
@ -71,7 +71,7 @@ KarenScript_AfterBattle:
closetext
end
KarensMovementData_0x18078e:
KarensRoom_EnterMovement:
step UP
step UP
step UP

View File

@ -28,7 +28,7 @@ KogasRoom_MapScripts:
return
.KogasDoorLocksBehindYou:
applymovement PLAYER, KogasMovementData_0x18078e
applymovement PLAYER, KogasRoom_EnterMovement
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80
@ -71,7 +71,7 @@ KogaScript_AfterBattle:
closetext
end
KogasMovementData_0x18078e:
KogasRoom_EnterMovement:
step UP
step UP
step UP

View File

@ -32,7 +32,7 @@ KurtsHouse_MapScripts:
.Done:
return
KurtScript_0x18e178:
Kurt1:
faceplayer
opentext
checkevent EVENT_KURT_GAVE_YOU_LURE_BALL
@ -312,7 +312,7 @@ KurtScript_0x18e178:
setmapscene AZALEA_TOWN, SCENE_AZALEATOWN_KURT_RETURNS_GS_BALL
end
KurtScript_0x18e3bd:
Kurt2:
faceplayer
opentext
checkevent EVENT_GAVE_GS_BALL_TO_KURT
@ -693,8 +693,8 @@ KurtsHouse_MapEvents:
bg_event 4, 1, BGEVENT_READ, KurtsHouseCelebiStatue
db 5 ; object events
object_event 3, 2, SPRITE_KURT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, KurtScript_0x18e178, EVENT_KURTS_HOUSE_KURT_1
object_event 3, 2, SPRITE_KURT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Kurt1, EVENT_KURTS_HOUSE_KURT_1
object_event 5, 3, SPRITE_TWIN, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, KurtsGranddaughter1, EVENT_KURTS_HOUSE_GRANDDAUGHTER_1
object_event 6, 3, SPRITE_SLOWPOKE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, KurtsHouseSlowpoke, EVENT_KURTS_HOUSE_SLOWPOKE
object_event 14, 3, SPRITE_KURT, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, KurtScript_0x18e3bd, EVENT_KURTS_HOUSE_KURT_2
object_event 14, 3, SPRITE_KURT, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, Kurt2, EVENT_KURTS_HOUSE_KURT_2
object_event 11, 4, SPRITE_TWIN, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, KurtsGranddaughter2, EVENT_KURTS_HOUSE_GRANDDAUGHTER_2

View File

@ -41,17 +41,17 @@ LakeOfRage_MapScripts:
appear LAKEOFRAGE_WESLEY
return
LanceScript_0x70022:
LakeOfRageLanceScript:
checkevent EVENT_REFUSED_TO_HELP_LANCE_AT_LAKE_OF_RAGE
iftrue UnknownScript_0x70057
iftrue .AskAgainForHelp
opentext
writetext UnknownText_0x70157
buttonsound
faceplayer
writetext UnknownText_0x701b4
yesorno
iffalse UnknownScript_0x7004e
UnknownScript_0x70035:
iffalse .RefusedToHelp
.AgreedToHelp:
writetext UnknownText_0x702c6
waitbutton
closetext
@ -63,22 +63,22 @@ UnknownScript_0x70035:
setmapscene MAHOGANY_MART_1F, SCENE_MAHOGANYMART1F_LANCE_UNCOVERS_STAIRS
end
UnknownScript_0x7004e:
.RefusedToHelp:
writetext UnknownText_0x70371
waitbutton
closetext
setevent EVENT_REFUSED_TO_HELP_LANCE_AT_LAKE_OF_RAGE
end
UnknownScript_0x70057:
.AskAgainForHelp:
faceplayer
opentext
writetext UnknownText_0x703a5
yesorno
iffalse UnknownScript_0x7004e
jump UnknownScript_0x70035
iffalse .RefusedToHelp
jump .AgreedToHelp
GyaradosScript_0x70063:
RedGyarados:
opentext
writetext UnknownText_0x703cb
pause 15
@ -87,9 +87,9 @@ GyaradosScript_0x70063:
loadwildmon GYARADOS, 30
writecode VAR_BATTLETYPE, BATTLETYPE_SHINY
startbattle
ifequal $1, UnknownScript_0x7007a
ifequal $1, .NotBeaten
disappear LAKEOFRAGE_GYARADOS
UnknownScript_0x7007a:
.NotBeaten:
reloadmapafterbattle
opentext
giveitem RED_SCALE
@ -103,18 +103,18 @@ UnknownScript_0x7007a:
appear LAKEOFRAGE_LANCE
end
GrampsScript_0x7008e:
LakeOfRageGrampsScript:
faceplayer
opentext
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue UnknownScript_0x7009c
writetext UnknownText_0x703f8
iftrue .ClearedRocketHideout
writetext LakeOfRageGrampsText
waitbutton
closetext
end
UnknownScript_0x7009c:
writetext UnknownText_0x70421
.ClearedRocketHideout:
writetext LakeOfRageGrampsText_ClearedRocketHideout
waitbutton
closetext
end
@ -125,19 +125,19 @@ LakeOfRageSuperNerdScript:
LakeOfRageCooltrainerFScript:
jumptextfaceplayer LakeOfRageCooltrainerFText
MapLakeOfRageSignpost0Script:
jumptext UnknownText_0x708d7
LakeOfRageSign:
jumptext LakeOfRageSignText
MapLakeOfRageSignpost1Script:
MagikarpHouseSignScript:
opentext
writetext UnknownText_0x70903
writetext FishingGurusHouseSignText
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue UnknownScript_0x700b8
iftrue .MagikarpLengthRecord
waitbutton
closetext
end
UnknownScript_0x700b8:
.MagikarpLengthRecord:
buttonsound
special MagikarpHouseSign
closetext
@ -319,14 +319,14 @@ UnknownText_0x703df:
line "RED SCALE."
done
UnknownText_0x703f8:
LakeOfRageGrampsText:
text "The GYARADOS are"
line "angry!"
para "It's a bad omen!"
done
UnknownText_0x70421:
LakeOfRageGrampsText_ClearedRocketHideout:
text "Hahah! The MAGI-"
line "KARP are biting!"
done
@ -480,13 +480,13 @@ WesleyNotWednesdayText:
cont "That's too bad."
done
UnknownText_0x708d7:
LakeOfRageSignText:
text "LAKE OF RAGE,"
line "also known as"
cont "GYARADOS LAKE."
done
UnknownText_0x70903:
FishingGurusHouseSignText:
text "FISHING GURU'S"
line "HOUSE"
done
@ -501,22 +501,22 @@ LakeOfRage_MapEvents:
db 0 ; coord events
db 5 ; bg events
bg_event 21, 27, BGEVENT_READ, MapLakeOfRageSignpost0Script
bg_event 25, 31, BGEVENT_READ, MapLakeOfRageSignpost1Script
bg_event 21, 27, BGEVENT_READ, LakeOfRageSign
bg_event 25, 31, BGEVENT_READ, MagikarpHouseSignScript
bg_event 11, 28, BGEVENT_ITEM, LakeOfRageHiddenFullRestore
bg_event 4, 4, BGEVENT_ITEM, LakeOfRageHiddenRareCandy
bg_event 35, 5, BGEVENT_ITEM, LakeOfRageHiddenMaxPotion
db 12 ; object events
object_event 21, 28, SPRITE_LANCE, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LanceScript_0x70022, EVENT_LAKE_OF_RAGE_LANCE
object_event 20, 26, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GrampsScript_0x7008e, -1
object_event 21, 28, SPRITE_LANCE, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LakeOfRageLanceScript, EVENT_LAKE_OF_RAGE_LANCE
object_event 20, 26, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LakeOfRageGrampsScript, -1
object_event 36, 13, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LakeOfRageSuperNerdScript, -1
object_event 25, 29, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LakeOfRageCooltrainerFScript, -1
object_event 30, 23, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerFisherAndre, EVENT_LAKE_OF_RAGE_CIVILIANS
object_event 24, 26, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 1, TrainerFisherRaymond, EVENT_LAKE_OF_RAGE_CIVILIANS
object_event 4, 15, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerCooltrainermAaron, EVENT_LAKE_OF_RAGE_CIVILIANS
object_event 36, 7, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 0, TrainerCooltrainerfLois, EVENT_LAKE_OF_RAGE_CIVILIANS
object_event 18, 22, SPRITE_GYARADOS, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GyaradosScript_0x70063, EVENT_LAKE_OF_RAGE_RED_GYARADOS
object_event 18, 22, SPRITE_GYARADOS, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, RedGyarados, EVENT_LAKE_OF_RAGE_RED_GYARADOS
object_event 4, 4, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, WesleyScript, EVENT_LAKE_OF_RAGE_WESLEY_OF_WEDNESDAY
object_event 7, 10, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, LakeOfRageElixer, EVENT_LAKE_OF_RAGE_ELIXER
object_event 35, 2, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, LakeOfRageTMDetect, EVENT_LAKE_OF_RAGE_TM_DETECT

View File

@ -6,90 +6,91 @@ LakeOfRageMagikarpHouse_MapScripts:
db 0 ; callbacks
FishingGuruScript_0x19a6ae:
MagikarpLengthRaterScript:
faceplayer
opentext
checkevent EVENT_LAKE_OF_RAGE_ELIXIR_ON_STANDBY
iftrue UnknownScript_0x19a6fe
iftrue .GetReward
checkevent EVENT_LAKE_OF_RAGE_ASKED_FOR_MAGIKARP
iftrue UnknownScript_0x19a6e0
iftrue .AskedForMagikarp
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue UnknownScript_0x19a6d7
iftrue .ClearedRocketHideout
checkevent EVENT_LAKE_OF_RAGE_EXPLAINED_WEIRD_MAGIKARP
iftrue UnknownScript_0x19a6d1
writetext UnknownText_0x19a72e
iftrue .ExplainedHistory
writetext MagikarpLengthRaterText_LakeOfRageHistory
waitbutton
closetext
setevent EVENT_LAKE_OF_RAGE_EXPLAINED_WEIRD_MAGIKARP
end
UnknownScript_0x19a6d1:
writetext UnknownText_0x19a84d
.ExplainedHistory:
writetext MagikarpLengthRaterText_MenInBlack
waitbutton
closetext
end
UnknownScript_0x19a6d7:
writetext UnknownText_0x19a890
.ClearedRocketHideout:
writetext MagikarpLengthRaterText_WorldsLargestMagikarp
waitbutton
closetext
setevent EVENT_LAKE_OF_RAGE_ASKED_FOR_MAGIKARP
end
UnknownScript_0x19a6e0:
.AskedForMagikarp:
writebyte MAGIKARP
special FindPartyMonThatSpecies
iffalse UnknownScript_0x19a6d7
writetext UnknownText_0x19a93e
iffalse .ClearedRocketHideout
writetext MagikarpLengthRaterText_YouHaveAMagikarp
waitbutton
special CheckMagikarpLength
ifequal MAGIKARPLENGTH_NOT_MAGIKARP, UnknownScript_0x19a71c
ifequal MAGIKARPLENGTH_REFUSED, UnknownScript_0x19a722
ifequal MAGIKARPLENGTH_TOO_SHORT, UnknownScript_0x19a716
ifequal MAGIKARPLENGTH_NOT_MAGIKARP, .NotMagikarp
ifequal MAGIKARPLENGTH_REFUSED, .Refused
ifequal MAGIKARPLENGTH_TOO_SHORT, .TooShort
; MAGIKARPLENGTH_BEAT_RECORD
jump UnknownScript_0x19a6fe
jump .GetReward
UnknownScript_0x19a6fe:
writetext UnknownText_0x19a977
.GetReward:
writetext MagikarpLengthRaterText_Memento
buttonsound
verbosegiveitem ELIXER
iffalse UnknownScript_0x19a711
writetext UnknownText_0x19a9c3
iffalse .NoRoom
writetext MagikarpLengthRaterText_Bonus
waitbutton
closetext
clearevent EVENT_LAKE_OF_RAGE_ELIXIR_ON_STANDBY
end
UnknownScript_0x19a711:
.NoRoom:
closetext
setevent EVENT_LAKE_OF_RAGE_ELIXIR_ON_STANDBY
end
UnknownScript_0x19a716:
writetext UnknownText_0x19aa01
.TooShort:
writetext MagikarpLengthRaterText_TooShort
waitbutton
closetext
end
UnknownScript_0x19a71c:
writetext UnknownText_0x19aa5c
.NotMagikarp:
writetext MagikarpLengthRaterText_NotMagikarp
waitbutton
closetext
end
UnknownScript_0x19a722:
writetext UnknownText_0x19aa79
.Refused:
writetext MagikarpLengthRaterText_Refused
waitbutton
closetext
end
UnknownScript_0x19a728:
jumptext UnknownText_0x19aabc
LakeOfRageMagikarpHouseUnusedRecordSign:
; unused
jumptext LakeOfRageMagikarpHouseUnusedRecordText
MagikarpHouseBookshelf:
jumpstd difficultbookshelf
UnknownText_0x19a72e:
MagikarpLengthRaterText_LakeOfRageHistory:
text "LAKE OF RAGE is"
line "actually a crater"
@ -118,7 +119,7 @@ UnknownText_0x19a72e:
line "what's happening."
done
UnknownText_0x19a84d:
MagikarpLengthRaterText_MenInBlack:
text "The LAKE hasn't"
line "been normal since"
@ -126,7 +127,7 @@ UnknownText_0x19a84d:
line "black arrived."
done
UnknownText_0x19a890:
MagikarpLengthRaterText_WorldsLargestMagikarp:
text "LAKE OF RAGE is"
line "back to normal."
@ -143,7 +144,7 @@ UnknownText_0x19a890:
cont "you do."
done
UnknownText_0x19a93e:
MagikarpLengthRaterText_YouHaveAMagikarp:
text "Ah, you have a"
line "MAGIKARP! Let's"
@ -151,7 +152,7 @@ UnknownText_0x19a93e:
line "baby is."
done
UnknownText_0x19a977:
MagikarpLengthRaterText_Memento:
text "Wow! This one is"
line "outstanding!"
@ -162,7 +163,7 @@ UnknownText_0x19a977:
line "memento!"
done
UnknownText_0x19a9c3:
MagikarpLengthRaterText_Bonus:
text "The record is the"
line "important thing."
@ -170,7 +171,7 @@ UnknownText_0x19a9c3:
line "a bonus!"
done
UnknownText_0x19aa01:
MagikarpLengthRaterText_TooShort:
text "Wow! This one is"
line "outstanding!"
@ -181,12 +182,12 @@ UnknownText_0x19aa01:
line "before."
done
UnknownText_0x19aa5c:
MagikarpLengthRaterText_NotMagikarp:
text "What? That's not a"
line "MAGIKARP!"
done
UnknownText_0x19aa79:
MagikarpLengthRaterText_Refused:
text "Oh… So you didn't"
line "get one good"
@ -194,7 +195,7 @@ UnknownText_0x19aa79:
line "Maybe next time."
done
UnknownText_0x19aabc:
LakeOfRageMagikarpHouseUnusedRecordText:
text "CURRENT RECORD"
para "@"
@ -218,4 +219,4 @@ LakeOfRageMagikarpHouse_MapEvents:
bg_event 1, 1, BGEVENT_READ, MagikarpHouseBookshelf
db 1 ; object events
object_event 2, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FishingGuruScript_0x19a6ae, -1
object_event 2, 3, SPRITE_FISHING_GURU, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MagikarpLengthRaterScript, -1

View File

@ -30,7 +30,7 @@ LancesRoom_MapScripts:
return
.LancesDoorLocksBehindYou:
applymovement PLAYER, LancesRoom_PlayerWalksInMovementData
applymovement PLAYER, LancesRoom_EnterMovement
refreshscreen $86
playsound SFX_STRENGTH
earthquake 80
@ -44,12 +44,12 @@ LancesRoom_MapScripts:
Script_ApproachLanceFromLeft:
special FadeOutMusic
applymovement PLAYER, MovementData_ApproachLanceFromLeft
jump LanceScript_0x180e7b
jump LancesRoomLanceScript
Script_ApproachLanceFromRight:
special FadeOutMusic
applymovement PLAYER, MovementData_ApproachLanceFromRight
LanceScript_0x180e7b:
LancesRoomLanceScript:
turnobject LANCESROOM_LANCE, LEFT
opentext
writetext LanceBattleIntroText
@ -128,7 +128,7 @@ LanceScript_0x180e7b:
warpfacing UP, HALL_OF_FAME, 4, 13
end
LancesRoom_PlayerWalksInMovementData:
LancesRoom_EnterMovement:
step UP
step UP
step UP
@ -351,6 +351,6 @@ LancesRoom_MapEvents:
db 0 ; bg events
db 3 ; object events
object_event 5, 3, SPRITE_LANCE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LanceScript_0x180e7b, -1
object_event 5, 3, SPRITE_LANCE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LancesRoomLanceScript, -1
object_event 4, 7, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_LANCES_ROOM_OAK_AND_MARY
object_event 4, 7, SPRITE_OAK, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_LANCES_ROOM_OAK_AND_MARY

Some files were not shown because too many files have changed in this diff Show More