mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
opentext and breeding
This commit is contained in:
parent
0c4bf512d0
commit
a5a8364c35
@ -9,21 +9,21 @@
|
||||
|
||||
; egg group constants
|
||||
const_value SET 1
|
||||
const MONSTER
|
||||
const AMPHIBIAN
|
||||
const INSECT
|
||||
const AVIAN
|
||||
const FIELD
|
||||
const FAIRY
|
||||
const PLANT
|
||||
const HUMANSHAPE
|
||||
const INVERTEBRATE
|
||||
const INANIMATE
|
||||
const AMORPHOUS
|
||||
const FISH
|
||||
const LADIES_MAN
|
||||
const REPTILE
|
||||
const NO_EGGS
|
||||
const MONSTER ; 1
|
||||
const AMPHIBIAN ; 2
|
||||
const INSECT ; 3
|
||||
const AVIAN ; 4
|
||||
const FIELD ; 5
|
||||
const FAIRY ; 6
|
||||
const PLANT ; 7
|
||||
const HUMANSHAPE ; 8
|
||||
const INVERTEBRATE ; 9
|
||||
const INANIMATE ; a
|
||||
const AMORPHOUS ; b
|
||||
const FISH ; c
|
||||
const LADIES_MAN ; d
|
||||
const REPTILE ; e
|
||||
const NO_EGGS ; f
|
||||
|
||||
|
||||
; menu sprites
|
||||
|
@ -1,7 +1,7 @@
|
||||
Function16e1d: ; 16e1d
|
||||
call Function16ed6
|
||||
CheckBreedmonCompatibility: ; 16e1d
|
||||
call .CheckBreedingGroupCompatibility
|
||||
ld c, $0
|
||||
jp nc, .asm_16eb7
|
||||
jp nc, .done
|
||||
ld a, [wBreedMon1Species]
|
||||
ld [CurPartySpecies], a
|
||||
ld a, [wBreedMon1DVs]
|
||||
@ -11,12 +11,12 @@ Function16e1d: ; 16e1d
|
||||
ld a, $3
|
||||
ld [MonType], a
|
||||
predef GetGender
|
||||
jr c, .asm_16e70
|
||||
jr c, .genderless
|
||||
ld b, $1
|
||||
jr nz, .asm_16e48
|
||||
jr nz, .breedmon2
|
||||
inc b
|
||||
|
||||
.asm_16e48
|
||||
.breedmon2
|
||||
push bc
|
||||
ld a, [wBreedMon2Species]
|
||||
ld [CurPartySpecies], a
|
||||
@ -28,96 +28,105 @@ Function16e1d: ; 16e1d
|
||||
ld [MonType], a
|
||||
predef GetGender
|
||||
pop bc
|
||||
jr c, .asm_16e70
|
||||
jr c, .genderless
|
||||
ld a, $1
|
||||
jr nz, .asm_16e6d
|
||||
jr nz, .compare_gender
|
||||
inc a
|
||||
|
||||
.asm_16e6d
|
||||
.compare_gender
|
||||
cp b
|
||||
jr nz, .asm_16e89
|
||||
jr nz, .compute
|
||||
|
||||
.asm_16e70
|
||||
.genderless
|
||||
ld c, $0
|
||||
ld a, [wBreedMon1Species]
|
||||
cp DITTO
|
||||
jr z, .asm_16e82
|
||||
jr z, .ditto1
|
||||
ld a, [wBreedMon2Species]
|
||||
cp DITTO
|
||||
jr nz, .asm_16eb7
|
||||
jr .asm_16e89
|
||||
jr nz, .done
|
||||
jr .compute
|
||||
|
||||
.asm_16e82
|
||||
.ditto1
|
||||
ld a, [wBreedMon2Species]
|
||||
cp DITTO
|
||||
jr z, .asm_16eb7
|
||||
jr z, .done
|
||||
|
||||
.asm_16e89
|
||||
call Function16ebc
|
||||
ld c, $ff
|
||||
jp z, .asm_16eb7
|
||||
.compute
|
||||
call .CheckDVs
|
||||
ld c, 255
|
||||
jp z, .done
|
||||
ld a, [wBreedMon2Species]
|
||||
ld b, a
|
||||
ld a, [wBreedMon1Species]
|
||||
cp b
|
||||
ld c, $fe
|
||||
jr z, .asm_16e9f
|
||||
ld c, $80
|
||||
.asm_16e9f
|
||||
ld c, 254
|
||||
jr z, .compare_ids
|
||||
ld c, 128
|
||||
.compare_ids
|
||||
; Speed up
|
||||
ld a, [wBreedMon1ID]
|
||||
ld b, a
|
||||
ld a, [wBreedMon2ID]
|
||||
cp b
|
||||
jr nz, .asm_16eb7
|
||||
jr nz, .done
|
||||
ld a, [wBreedMon1ID + 1]
|
||||
ld b, a
|
||||
ld a, [wBreedMon2ID + 1]
|
||||
cp b
|
||||
jr nz, .asm_16eb7
|
||||
jr nz, .done
|
||||
ld a, c
|
||||
sub $4d
|
||||
sub 77
|
||||
ld c, a
|
||||
|
||||
.asm_16eb7
|
||||
.done
|
||||
ld a, c
|
||||
ld [wd265], a
|
||||
ret
|
||||
; 16ebc
|
||||
|
||||
|
||||
Function16ebc: ; 16ebc (5:6ebc)
|
||||
.CheckDVs: ; 16ebc (5:6ebc)
|
||||
; If Defense DVs match and the lower 3 bits of the Special DVs match,
|
||||
; maximize the chances of spawning an egg regardless of species.
|
||||
ld a, [wBreedMon1DVs]
|
||||
and $f
|
||||
and %1111
|
||||
ld b, a
|
||||
ld a, [wBreedMon2DVs]
|
||||
and $f
|
||||
and %1111
|
||||
cp b
|
||||
ret nz
|
||||
ld a, [wBreedMon1DVs + 1]
|
||||
and $7
|
||||
and %111
|
||||
ld b, a
|
||||
ld a, [wBreedMon2DVs + 1]
|
||||
and $7
|
||||
and %111
|
||||
cp b
|
||||
ret
|
||||
; 16ed6
|
||||
|
||||
Function16ed6: ; 16ed6
|
||||
.CheckBreedingGroupCompatibility: ; 16ed6
|
||||
; If either mon is in the No Eggs group,
|
||||
; they are not compatible.
|
||||
ld a, [wBreedMon2Species]
|
||||
ld [CurSpecies], a
|
||||
call GetBaseData
|
||||
ld a, [BaseEggGroups]
|
||||
cp $ff
|
||||
jr z, .asm_16f3a
|
||||
cp NO_EGGS * $11
|
||||
jr z, .Incompatible
|
||||
|
||||
ld a, [wBreedMon1Species]
|
||||
ld [CurSpecies], a
|
||||
call GetBaseData
|
||||
ld a, [BaseEggGroups]
|
||||
cp $ff
|
||||
jr z, .asm_16f3a
|
||||
cp NO_EGGS * $11
|
||||
jr z, .Incompatible
|
||||
|
||||
; Ditto is automatically compatible with everything.
|
||||
; If not Ditto, load the breeding groups into b/c and d/e.
|
||||
ld a, [wBreedMon2Species]
|
||||
cp DITTO
|
||||
jr z, .asm_16f3c
|
||||
jr z, .Compatible
|
||||
ld [CurSpecies], a
|
||||
call GetBaseData
|
||||
ld a, [BaseEggGroups]
|
||||
@ -128,9 +137,10 @@ Function16ed6: ; 16ed6
|
||||
and $f0
|
||||
swap a
|
||||
ld c, a
|
||||
|
||||
ld a, [wBreedMon1Species]
|
||||
cp DITTO
|
||||
jr z, .asm_16f3c
|
||||
jr z, .Compatible
|
||||
ld [CurSpecies], a
|
||||
push bc
|
||||
call GetBaseData
|
||||
@ -143,22 +153,24 @@ Function16ed6: ; 16ed6
|
||||
and $f0
|
||||
swap a
|
||||
ld e, a
|
||||
|
||||
ld a, d
|
||||
cp b
|
||||
jr z, .asm_16f3c
|
||||
jr z, .Compatible
|
||||
cp c
|
||||
jr z, .asm_16f3c
|
||||
jr z, .Compatible
|
||||
|
||||
ld a, e
|
||||
cp b
|
||||
jr z, .asm_16f3c
|
||||
jr z, .Compatible
|
||||
cp c
|
||||
jr z, .asm_16f3c
|
||||
jr z, .Compatible
|
||||
|
||||
.asm_16f3a
|
||||
.Incompatible
|
||||
and a
|
||||
ret
|
||||
|
||||
.asm_16f3c
|
||||
.Compatible
|
||||
scf
|
||||
ret
|
||||
; 16f3e
|
||||
@ -448,7 +460,7 @@ endr
|
||||
jr .loop
|
||||
|
||||
.reached_end
|
||||
call Function1720b
|
||||
call GetBreedmonMovePointer
|
||||
ld b, NUM_MOVES
|
||||
.loop2
|
||||
ld a, [de]
|
||||
@ -613,7 +625,7 @@ GetHeritableMoves: ; 17197
|
||||
ret
|
||||
; 1720b
|
||||
|
||||
Function1720b: ; 1720b
|
||||
GetBreedmonMovePointer: ; 1720b
|
||||
ld hl, wBreedMon1Moves
|
||||
ld a, [wBreedMon1Species]
|
||||
cp DITTO
|
||||
@ -631,7 +643,7 @@ Function1720b: ; 1720b
|
||||
; 17224
|
||||
|
||||
|
||||
Function17224: ; 17224 (5:7224)
|
||||
GetEggFrontpic: ; 17224 (5:7224)
|
||||
push de
|
||||
ld [CurPartySpecies], a
|
||||
ld [CurSpecies], a
|
||||
@ -641,7 +653,7 @@ Function17224: ; 17224 (5:7224)
|
||||
pop de
|
||||
predef_jump GetFrontpic
|
||||
|
||||
Function1723c: ; 1723c (5:723c)
|
||||
GetHatchlingFrontpic: ; 1723c (5:723c)
|
||||
push de
|
||||
ld [CurPartySpecies], a
|
||||
ld [CurSpecies], a
|
||||
@ -701,10 +713,10 @@ EggHatch_AnimationSequence: ; 1728f (5:728f)
|
||||
callba ClearSpriteAnims
|
||||
ld de, VTiles2 tile $00
|
||||
ld a, [wJumptableIndex]
|
||||
call Function1723c
|
||||
call GetHatchlingFrontpic
|
||||
ld de, VTiles2 tile $31
|
||||
ld a, EGG
|
||||
call Function17224
|
||||
call GetEggFrontpic
|
||||
ld de, MUSIC_EVOLUTION
|
||||
call PlayMusic
|
||||
call EnableLCD
|
||||
@ -915,7 +927,7 @@ Function1746c: ; 1746c
|
||||
ld de, StringBuffer1
|
||||
ld bc, NAME_LENGTH
|
||||
call CopyBytes
|
||||
call Function16e1d
|
||||
call CheckBreedmonCompatibility
|
||||
pop bc
|
||||
ld a, [wd265]
|
||||
ld hl, UnknownText_0x1749c
|
||||
|
@ -137,7 +137,7 @@ Function8ade: ; 8ade SGB layout $fc
|
||||
.asm_8af7
|
||||
push de
|
||||
ld hl, wcda9 + 10
|
||||
ld bc, $0006
|
||||
ld bc, $6
|
||||
ld a, [wcda9]
|
||||
call AddNTimes
|
||||
pop de
|
||||
@ -150,13 +150,13 @@ Function8b07: ; 8b07
|
||||
ret z
|
||||
ld hl, Palette8b2f
|
||||
ld de, UnknBGPals
|
||||
ld bc, $0008
|
||||
ld bc, 1 palettes
|
||||
ld a, $5
|
||||
call FarCopyWRAM
|
||||
|
||||
ld hl, Palette8b37
|
||||
ld de, MartPointer
|
||||
ld bc, $0008
|
||||
ld bc, 1 palettes
|
||||
ld a, $5
|
||||
call FarCopyWRAM
|
||||
|
||||
@ -171,6 +171,7 @@ Palette8b2f: ; 8b2f
|
||||
RGB 18, 23, 31
|
||||
RGB 15, 20, 31
|
||||
RGB 00, 00, 00
|
||||
|
||||
; 8b37
|
||||
|
||||
Palette8b37: ; 8b37
|
||||
@ -178,6 +179,7 @@ Palette8b37: ; 8b37
|
||||
RGB 31, 31, 12
|
||||
RGB 08, 16, 28
|
||||
RGB 00, 00, 00
|
||||
|
||||
; 8b3f
|
||||
|
||||
Function8b3f: ; 8b3f
|
||||
@ -276,7 +278,7 @@ endr
|
||||
asm_8bd7
|
||||
push hl
|
||||
ld hl, UnknBGPals
|
||||
ld de, $0008
|
||||
ld de, $8
|
||||
.asm_8bde
|
||||
and a
|
||||
jr z, .asm_8be5
|
||||
@ -304,7 +306,7 @@ Function8bec: ; 8bec
|
||||
ld c, a
|
||||
ld a, [EnemyReflectCount]
|
||||
hlcoord 0, 0, AttrMap
|
||||
ld de, $0014
|
||||
ld de, $14
|
||||
.asm_8c04
|
||||
and a
|
||||
jr z, .asm_8c0b
|
||||
@ -357,11 +359,11 @@ Function8c43: ; 8c43
|
||||
ret
|
||||
|
||||
.asm_8c52
|
||||
ld de, BGPals + $10 + 2
|
||||
ld de, BGPals + 2 palettes + 2
|
||||
jr .asm_8c5a
|
||||
|
||||
.asm_8c57
|
||||
ld de, BGPals + $18 + 2
|
||||
ld de, BGPals + 3 palettes + 2
|
||||
|
||||
.asm_8c5a
|
||||
ld l, c
|
||||
@ -371,7 +373,7 @@ rept 2
|
||||
endr
|
||||
ld bc, Palettes_a8be
|
||||
add hl, bc
|
||||
ld bc, $0004
|
||||
ld bc, $4
|
||||
ld a, $5
|
||||
call FarCopyWRAM
|
||||
ld a, $1
|
||||
@ -382,7 +384,7 @@ endr
|
||||
ld e, c
|
||||
inc e
|
||||
hlcoord 11, 1, AttrMap
|
||||
ld bc, $0028
|
||||
ld bc, $28
|
||||
ld a, [CurPartyMon]
|
||||
.asm_8c7b
|
||||
and a
|
||||
@ -459,7 +461,7 @@ endr
|
||||
|
||||
.asm_8cf0
|
||||
ld de, UnknBGPals
|
||||
ld bc, $0008
|
||||
ld bc, 1 palettes
|
||||
ld a, $5
|
||||
call FarCopyWRAM
|
||||
call Function96a4
|
||||
@ -518,6 +520,7 @@ Palettes_8d05: ; 8d05
|
||||
RGB 31, 31, 00
|
||||
RGB 00, 21, 00
|
||||
RGB 00, 00, 00
|
||||
|
||||
; 8d55
|
||||
|
||||
INCLUDE "predef/cgb.asm"
|
||||
@ -540,6 +543,7 @@ Palette_9608: ; 9608
|
||||
RGB 09, 31, 31
|
||||
RGB 10, 12, 31
|
||||
RGB 00, 03, 19
|
||||
|
||||
; 9610
|
||||
|
||||
|
||||
@ -678,7 +682,7 @@ Function9699: ; 9699
|
||||
Function96a4: ; 96a4
|
||||
ld hl, UnknBGPals
|
||||
ld de, BGPals
|
||||
ld bc, $0080
|
||||
ld bc, 16 palettes
|
||||
ld a, $5
|
||||
call FarCopyWRAM
|
||||
ret
|
||||
@ -740,7 +744,7 @@ Function96f3: ; 96f3 CGB layout $fc
|
||||
inc a
|
||||
ld e, a
|
||||
hlcoord 11, 2, AttrMap
|
||||
ld bc, $0028
|
||||
ld bc, $28
|
||||
ld a, [wcda9]
|
||||
.asm_970b
|
||||
and a
|
||||
@ -760,7 +764,7 @@ Function96f3: ; 96f3 CGB layout $fc
|
||||
Function971a: ; 971a
|
||||
ld hl, Palettes_b681
|
||||
ld de, UnknOBPals
|
||||
ld bc, $0010
|
||||
ld bc, 2 palettes
|
||||
ld a, $5
|
||||
call FarCopyWRAM
|
||||
ret
|
||||
@ -844,7 +848,7 @@ Function977a: ; 977a
|
||||
jr nz, .asm_9787
|
||||
ld hl, Palettes_979c
|
||||
ld de, UnknOBPals + 8 * 2
|
||||
ld bc, $0010
|
||||
ld bc, 2 palettes
|
||||
ld a, $5
|
||||
call FarCopyWRAM
|
||||
ret
|
||||
@ -855,26 +859,32 @@ Palettes_979c: ; 979c
|
||||
RGB 25, 25, 25
|
||||
RGB 13, 13, 13
|
||||
RGB 00, 00, 00
|
||||
|
||||
RGB 31, 31, 31
|
||||
RGB 31, 31, 07
|
||||
RGB 31, 16, 01
|
||||
RGB 00, 00, 00
|
||||
|
||||
RGB 31, 31, 31
|
||||
RGB 31, 19, 24
|
||||
RGB 30, 10, 06
|
||||
RGB 00, 00, 00
|
||||
|
||||
RGB 31, 31, 31
|
||||
RGB 12, 25, 01
|
||||
RGB 05, 14, 00
|
||||
RGB 00, 00, 00
|
||||
|
||||
RGB 31, 31, 31
|
||||
RGB 08, 12, 31
|
||||
RGB 01, 04, 31
|
||||
RGB 00, 00, 00
|
||||
|
||||
RGB 31, 31, 31
|
||||
RGB 24, 18, 07
|
||||
RGB 20, 15, 03
|
||||
RGB 00, 00, 00
|
||||
|
||||
; 97cc
|
||||
|
||||
Function97cc: ; 97cc
|
||||
@ -1217,20 +1227,20 @@ Function99d8: ; 99d8
|
||||
ld b, $12
|
||||
.asm_99ea
|
||||
push bc
|
||||
ld bc, $000c
|
||||
ld bc, $c
|
||||
call CopyData
|
||||
ld bc, $0028
|
||||
ld bc, $28
|
||||
call ClearBytes
|
||||
ld bc, $000c
|
||||
ld bc, $c
|
||||
call CopyData
|
||||
pop bc
|
||||
dec b
|
||||
jr nz, .asm_99ea
|
||||
ld bc, $0140
|
||||
ld bc, $140
|
||||
call CopyData
|
||||
ld bc, Start
|
||||
call ClearBytes
|
||||
ld bc, $0080
|
||||
ld bc, 16 palettes
|
||||
call CopyData
|
||||
call DrawDefaultTiles
|
||||
ld a, $e3
|
||||
@ -1250,9 +1260,9 @@ Function9a24: ; 9a24
|
||||
ld b, $80
|
||||
.asm_9a30
|
||||
push bc
|
||||
ld bc, $0010
|
||||
ld bc, 2 palettes
|
||||
call CopyData
|
||||
ld bc, $0010
|
||||
ld bc, 2 palettes
|
||||
call ClearBytes
|
||||
pop bc
|
||||
dec b
|
||||
@ -1803,6 +1813,7 @@ Palettes_9df6: ; 9df6
|
||||
RGB 08, 11, 11
|
||||
RGB 21, 21, 21
|
||||
RGB 31, 31, 31
|
||||
|
||||
; a06e
|
||||
|
||||
SGBBorderMap: ; a06e
|
||||
@ -1916,6 +1927,7 @@ SGBBorderPalettes: ; a49e
|
||||
RGB 31, 31, 25
|
||||
RGB 31, 31, 25
|
||||
RGB 31, 31, 25
|
||||
|
||||
; a51e
|
||||
|
||||
SGBBorder: ; a51e
|
||||
@ -2085,6 +2097,7 @@ Palette_b309: ; b309
|
||||
RGB 31, 19, 24
|
||||
RGB 30, 10, 06
|
||||
RGB 00, 00, 00
|
||||
|
||||
; b311
|
||||
|
||||
Palette_b311: ; b311
|
||||
@ -2092,6 +2105,7 @@ Palette_b311: ; b311
|
||||
RGB 17, 19, 31
|
||||
RGB 14, 16, 31
|
||||
RGB 00, 00, 00
|
||||
|
||||
; b319
|
||||
|
||||
TilesetBGPalette: ; b319
|
||||
@ -2143,6 +2157,7 @@ Palettes_b641: ; b641
|
||||
RGB 11, 11, 19
|
||||
RGB 07, 07, 12
|
||||
RGB 00, 00, 00
|
||||
|
||||
; b681
|
||||
|
||||
Palettes_b681: ; b681
|
||||
@ -2216,6 +2231,7 @@ Palettes_b681: ; b681
|
||||
RGB 20, 15, 03
|
||||
RGB 07, 07, 07
|
||||
|
||||
|
||||
Palettes_b6f1: ; b6f1
|
||||
RGB 31, 31, 31
|
||||
RGB 18, 23, 31
|
||||
@ -2242,6 +2258,7 @@ Palettes_b6f1: ; b6f1
|
||||
RGB 18, 23, 31
|
||||
RGB 00, 00, 00
|
||||
|
||||
|
||||
Palettes_b719: ; b719
|
||||
RGB 31, 31, 31
|
||||
RGB 07, 06, 03
|
||||
@ -2252,6 +2269,7 @@ Palettes_b719: ; b719
|
||||
RGB 31, 31, 00
|
||||
RGB 26, 22, 00
|
||||
RGB 00, 00, 00
|
||||
|
||||
; b729
|
||||
|
||||
Palettes_b729: ; b729
|
||||
@ -2284,6 +2302,7 @@ Palettes_b729: ; b729
|
||||
RGB 00, 31, 00
|
||||
RGB 15, 07, 00
|
||||
RGB 31, 00, 00
|
||||
|
||||
; b759
|
||||
|
||||
Palettes_b759: ; b759
|
||||
@ -2316,6 +2335,7 @@ Palettes_b759: ; b759
|
||||
RGB 00, 31, 00
|
||||
RGB 15, 07, 00
|
||||
RGB 31, 00, 00
|
||||
|
||||
; b789
|
||||
|
||||
Palettes_b789: ; b789
|
||||
@ -2338,6 +2358,7 @@ Palettes_b789: ; b789
|
||||
RGB 29, 26, 05
|
||||
RGB 18, 18, 18
|
||||
RGB 00, 00, 00
|
||||
|
||||
; b7a9
|
||||
|
||||
Palettes_b7a9: ; b7a9
|
||||
@ -2420,4 +2441,5 @@ Palettes_b7a9: ; b7a9
|
||||
RGB 31, 31, 31
|
||||
RGB 00, 00, 00
|
||||
RGB 00, 00, 00
|
||||
|
||||
; b829
|
||||
|
@ -1244,7 +1244,7 @@ DecorationDesc_PosterPointers: ; 26f84
|
||||
; 26f91
|
||||
|
||||
DecorationDesc_TownMapPoster: ; 0x26f91
|
||||
loadfont
|
||||
opentext
|
||||
writetext .TownMapText
|
||||
waitbutton
|
||||
special Special_TownMap
|
||||
|
@ -1,6 +1,6 @@
|
||||
FruitTreeScript:: ; 44000
|
||||
callasm GetCurTreeFruit
|
||||
loadfont
|
||||
opentext
|
||||
copybytetovar CurFruit
|
||||
itemtotext $0, $0
|
||||
writetext FruitBearingTreeText
|
||||
|
572
engine/npc_movement.asm
Executable file
572
engine/npc_movement.asm
Executable file
@ -0,0 +1,572 @@
|
||||
Function6ec1: ; 6ec1
|
||||
|
||||
ld hl, OBJECT_PALETTE
|
||||
add hl, bc
|
||||
bit 5, [hl]
|
||||
jr z, .not_bit_5
|
||||
|
||||
ld hl, OBJECT_FLAGS1
|
||||
add hl, bc
|
||||
bit 4, [hl] ; lost
|
||||
push hl
|
||||
push bc
|
||||
call Function6f2c
|
||||
pop bc
|
||||
pop hl
|
||||
ret c
|
||||
jr .resume
|
||||
|
||||
.not_bit_5
|
||||
ld hl, OBJECT_FLAGS1
|
||||
add hl, bc
|
||||
bit 4, [hl]
|
||||
jr nz, .resume
|
||||
push hl
|
||||
push bc
|
||||
call Function6f07
|
||||
pop bc
|
||||
pop hl
|
||||
ret c
|
||||
|
||||
.resume
|
||||
bit 6, [hl]
|
||||
jr nz, .bit_6
|
||||
|
||||
push hl
|
||||
push bc
|
||||
call WillPersonBumpIntoSomeoneElse
|
||||
pop bc
|
||||
pop hl
|
||||
ret c
|
||||
|
||||
.bit_6
|
||||
bit 5, [hl]
|
||||
jr nz, .bit_5
|
||||
push hl
|
||||
call HasPersonReachedMovementLimit
|
||||
pop hl
|
||||
ret c
|
||||
|
||||
push hl
|
||||
call IsPersonMovingOffEdgeOfScreen
|
||||
pop hl
|
||||
ret c
|
||||
|
||||
.bit_5
|
||||
and a
|
||||
ret
|
||||
; 6f07
|
||||
|
||||
|
||||
Function6f07: ; 6f07
|
||||
call Function6f5f
|
||||
ret c
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld d, [hl]
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld e, [hl]
|
||||
ld hl, OBJECT_PALETTE
|
||||
add hl, bc
|
||||
bit 7, [hl]
|
||||
jp nz, Function6fa1
|
||||
ld hl, OBJECT_NEXT_TILE
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
ld d, a
|
||||
call GetTileCollision
|
||||
and a
|
||||
jr z, Function6f3e
|
||||
scf
|
||||
ret
|
||||
; 6f2c
|
||||
|
||||
Function6f2c: ; 6f2c
|
||||
call Function6f5f
|
||||
ret c
|
||||
ld hl, OBJECT_NEXT_TILE
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
call GetTileCollision
|
||||
cp $1
|
||||
jr z, Function6f3e
|
||||
scf
|
||||
ret
|
||||
; 6f3e
|
||||
|
||||
Function6f3e: ; 6f3e
|
||||
ld hl, OBJECT_NEXT_TILE
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
call Function6f7f
|
||||
ret nc
|
||||
push af
|
||||
ld hl, OBJECT_DIRECTION_WALKING
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
and 3
|
||||
ld e, a
|
||||
ld d, 0
|
||||
ld hl, .data_6f5b
|
||||
add hl, de
|
||||
pop af
|
||||
and [hl]
|
||||
ret z
|
||||
scf
|
||||
ret
|
||||
; 6f5b
|
||||
|
||||
.data_6f5b
|
||||
db 1 << DOWN, 1 << UP, 1 << RIGHT, 1 << LEFT
|
||||
; 6f5f
|
||||
|
||||
Function6f5f: ; 6f5f
|
||||
ld hl, OBJECT_STANDING_TILE
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
call Function6f7f
|
||||
ret nc
|
||||
push af
|
||||
ld hl, OBJECT_DIRECTION_WALKING
|
||||
add hl, bc
|
||||
and 3
|
||||
ld e, a
|
||||
ld d, 0
|
||||
ld hl, .data_6f7b
|
||||
add hl, de
|
||||
pop af
|
||||
and [hl]
|
||||
ret z
|
||||
scf
|
||||
ret
|
||||
; 6f7b
|
||||
|
||||
.data_6f7b
|
||||
db 1 << UP, 1 << DOWN, 1 << LEFT, 1 << RIGHT
|
||||
; 6f7f
|
||||
|
||||
Function6f7f: ; 6f7f
|
||||
ld d, a
|
||||
and $f0
|
||||
cp $b0
|
||||
jr z, .done
|
||||
cp $c0
|
||||
jr z, .done
|
||||
xor a
|
||||
ret
|
||||
|
||||
.done
|
||||
ld a, d
|
||||
and 7
|
||||
ld e, a
|
||||
ld d, 0
|
||||
ld hl, .data_6f99
|
||||
add hl, de
|
||||
ld a, [hl]
|
||||
scf
|
||||
ret
|
||||
; 6f99
|
||||
|
||||
.data_6f99
|
||||
db 8, 4, 1, 2
|
||||
db 10, 6, 9, 5
|
||||
; 6fa1
|
||||
|
||||
Function6fa1: ; 6fa1
|
||||
ld hl, OBJECT_DIRECTION_WALKING
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
and 3
|
||||
jr z, .asm_6fb2
|
||||
dec a
|
||||
jr z, .asm_6fb7
|
||||
dec a
|
||||
jr z, .asm_6fbb
|
||||
jr .asm_6fbf
|
||||
|
||||
.asm_6fb2
|
||||
inc e
|
||||
push de
|
||||
inc d
|
||||
jr .asm_6fc2
|
||||
|
||||
.asm_6fb7
|
||||
push de
|
||||
inc d
|
||||
jr .asm_6fc2
|
||||
|
||||
.asm_6fbb
|
||||
push de
|
||||
inc e
|
||||
jr .asm_6fc2
|
||||
|
||||
.asm_6fbf
|
||||
inc d
|
||||
push de
|
||||
inc e
|
||||
|
||||
.asm_6fc2
|
||||
call GetCoordTile
|
||||
call GetTileCollision
|
||||
pop de
|
||||
and a
|
||||
jr nz, .asm_6fd7
|
||||
call GetCoordTile
|
||||
call GetTileCollision
|
||||
and a
|
||||
jr nz, .asm_6fd7
|
||||
xor a
|
||||
ret
|
||||
|
||||
.asm_6fd7
|
||||
scf
|
||||
ret
|
||||
; 6fd9
|
||||
|
||||
|
||||
|
||||
CheckFacingObject:: ; 6fd9
|
||||
|
||||
call GetFacingTileCoord
|
||||
|
||||
; Double the distance for counter tiles.
|
||||
call CheckCounterTile
|
||||
jr nz, .asm_6ff1
|
||||
|
||||
ld a, [PlayerNextMapX]
|
||||
sub d
|
||||
cpl
|
||||
inc a
|
||||
add d
|
||||
ld d, a
|
||||
|
||||
ld a, [PlayerNextMapY]
|
||||
sub e
|
||||
cpl
|
||||
inc a
|
||||
add e
|
||||
ld e, a
|
||||
|
||||
.asm_6ff1
|
||||
ld bc, ObjectStructs ; redundant
|
||||
ld a, 0
|
||||
ld [hMapObjectIndexBuffer], a
|
||||
call IsNPCAtCoord
|
||||
ret nc
|
||||
ld hl, OBJECT_DIRECTION_WALKING
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp STANDING
|
||||
jr z, .standing
|
||||
xor a
|
||||
ret
|
||||
|
||||
.standing
|
||||
scf
|
||||
ret
|
||||
; 7009
|
||||
|
||||
|
||||
WillPersonBumpIntoSomeoneElse: ; 7009
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld d, [hl]
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld e, [hl]
|
||||
jr IsNPCAtCoord
|
||||
; 7015
|
||||
|
||||
Function7015: ; unreferenced
|
||||
ld a, [hMapObjectIndexBuffer]
|
||||
call GetObjectStruct
|
||||
call .CheckWillBeFacingNPC
|
||||
call IsNPCAtCoord
|
||||
ret
|
||||
|
||||
.CheckWillBeFacingNPC: ; 7021
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld d, [hl]
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld e, [hl]
|
||||
call GetSpriteDirection
|
||||
and a
|
||||
jr z, .down
|
||||
cp OW_UP
|
||||
jr z, .up
|
||||
cp OW_LEFT
|
||||
jr z, .left
|
||||
inc d
|
||||
ret
|
||||
|
||||
.down
|
||||
inc e
|
||||
ret
|
||||
|
||||
.up
|
||||
dec e
|
||||
ret
|
||||
|
||||
.left
|
||||
dec d
|
||||
ret
|
||||
; 7041
|
||||
|
||||
IsNPCAtCoord: ; 7041
|
||||
ld bc, ObjectStructs
|
||||
xor a
|
||||
.loop
|
||||
ld [hObjectStructIndexBuffer], a
|
||||
call GetObjectSprite
|
||||
jr z, .next
|
||||
|
||||
ld hl, OBJECT_FLAGS1
|
||||
add hl, bc
|
||||
bit 7, [hl]
|
||||
jr nz, .next
|
||||
|
||||
ld hl, OBJECT_PALETTE
|
||||
add hl, bc
|
||||
bit 7, [hl]
|
||||
jr z, .got
|
||||
|
||||
call Function7171
|
||||
jr nc, .ok
|
||||
jr .ok2
|
||||
|
||||
.got
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr nz, .ok
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp e
|
||||
jr nz, .ok
|
||||
|
||||
.ok2
|
||||
ld a, [hMapObjectIndexBuffer]
|
||||
ld l, a
|
||||
ld a, [hObjectStructIndexBuffer]
|
||||
cp l
|
||||
jr nz, .setcarry
|
||||
|
||||
.ok
|
||||
ld hl, OBJECT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr nz, .next
|
||||
ld hl, OBJECT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp e
|
||||
jr nz, .next
|
||||
ld a, [hMapObjectIndexBuffer]
|
||||
ld l, a
|
||||
ld a, [hObjectStructIndexBuffer]
|
||||
cp l
|
||||
jr nz, .setcarry
|
||||
|
||||
.next
|
||||
ld hl, OBJECT_STRUCT_LENGTH
|
||||
add hl, bc
|
||||
ld b, h
|
||||
ld c, l
|
||||
ld a, [hObjectStructIndexBuffer]
|
||||
inc a
|
||||
cp NUM_OBJECT_STRUCTS
|
||||
jr nz, .loop
|
||||
and a
|
||||
ret
|
||||
|
||||
.setcarry
|
||||
scf
|
||||
ret
|
||||
; 70a4
|
||||
|
||||
HasPersonReachedMovementLimit: ; 70a4
|
||||
ld hl, OBJECT_RADIUS
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
and a
|
||||
jr z, .nope
|
||||
and $f
|
||||
jr z, .check_y
|
||||
ld e, a
|
||||
ld d, a
|
||||
ld hl, OBJECT_INIT_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
sub d
|
||||
ld d, a
|
||||
ld a, [hl]
|
||||
add e
|
||||
ld e, a
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr z, .yes
|
||||
cp e
|
||||
jr z, .yes
|
||||
|
||||
.check_y
|
||||
ld hl, OBJECT_RADIUS
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
swap a
|
||||
and $f
|
||||
jr z, .nope
|
||||
ld e, a
|
||||
ld d, a
|
||||
ld hl, OBJECT_INIT_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
sub d
|
||||
ld d, a
|
||||
ld a, [hl]
|
||||
add e
|
||||
ld e, a
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr z, .yes
|
||||
cp e
|
||||
jr z, .yes
|
||||
|
||||
.nope
|
||||
xor a
|
||||
ret
|
||||
|
||||
.yes
|
||||
scf
|
||||
ret
|
||||
; 70ed
|
||||
|
||||
IsPersonMovingOffEdgeOfScreen: ; 70ed
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [XCoord]
|
||||
cp [hl]
|
||||
jr z, .check_y
|
||||
jr nc, .yes
|
||||
add $9
|
||||
cp [hl]
|
||||
jr c, .yes
|
||||
|
||||
.check_y
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [YCoord]
|
||||
cp [hl]
|
||||
jr z, .nope
|
||||
jr nc, .yes
|
||||
add $8
|
||||
cp [hl]
|
||||
jr c, .yes
|
||||
|
||||
.nope
|
||||
and a
|
||||
ret
|
||||
|
||||
.yes
|
||||
scf
|
||||
ret
|
||||
; 7113
|
||||
|
||||
Function7113: ; unreferenced
|
||||
ld a, [PlayerNextMapX]
|
||||
ld d, a
|
||||
ld a, [PlayerNextMapY]
|
||||
ld e, a
|
||||
ld bc, ObjectStructs
|
||||
xor a
|
||||
.loop
|
||||
ld [hObjectStructIndexBuffer], a
|
||||
call GetObjectSprite
|
||||
jr z, .next
|
||||
ld hl, OBJECT_MOVEMENTTYPE
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp SPRITEMOVEDATA_SNORLAX
|
||||
jr nz, .not_snorlax
|
||||
call Function7171
|
||||
jr c, .yes
|
||||
jr .next
|
||||
|
||||
.not_snorlax
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp e
|
||||
jr nz, .check_current_coords
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr nz, .check_current_coords
|
||||
ld a, [hObjectStructIndexBuffer]
|
||||
cp $0
|
||||
jr z, .next
|
||||
jr .yes
|
||||
|
||||
.check_current_coords
|
||||
ld hl, OBJECT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp e
|
||||
jr nz, .next
|
||||
ld hl, OBJECT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr nz, .next
|
||||
jr .yes
|
||||
|
||||
.next
|
||||
ld hl, OBJECT_STRUCT_LENGTH
|
||||
add hl, bc
|
||||
ld b, h
|
||||
ld c, l
|
||||
ld a, [hObjectStructIndexBuffer]
|
||||
inc a
|
||||
cp NUM_OBJECT_STRUCTS
|
||||
jr nz, .loop
|
||||
xor a
|
||||
ret
|
||||
|
||||
.yes
|
||||
scf
|
||||
ret
|
||||
; 7171
|
||||
|
||||
|
||||
Function7171: ; 7171
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld a, d
|
||||
sub [hl]
|
||||
jr c, .nope
|
||||
cp $2
|
||||
jr nc, .nope
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, e
|
||||
sub [hl]
|
||||
jr c, .nope
|
||||
cp $2
|
||||
jr nc, .nope
|
||||
scf
|
||||
ret
|
||||
|
||||
.nope
|
||||
and a
|
||||
ret
|
||||
; 718d
|
@ -141,7 +141,7 @@ ScriptCommandTable: ; 96cb1
|
||||
dw Script_stringtotext ; 44
|
||||
dw Script_itemnotify ; 45
|
||||
dw Script_pocketisfull ; 46
|
||||
dw Script_loadfont ; 47
|
||||
dw Script_textbox ; 47
|
||||
dw Script_refreshscreen ; 48
|
||||
dw Script_closetext ; 49
|
||||
dw Script_loadbytec2cf ; 4a
|
||||
@ -345,7 +345,7 @@ Script_jumptext: ; 96e5f
|
||||
JumpTextFacePlayerScript: ; 96e79
|
||||
faceplayer
|
||||
JumpTextScript: ; 96e7a
|
||||
loadfont
|
||||
opentext
|
||||
repeattext -1, -1
|
||||
waitbutton
|
||||
closetext
|
||||
@ -3026,10 +3026,10 @@ Script_reloadandreturn: ; 97b16
|
||||
jp Script_end
|
||||
; 97b1c
|
||||
|
||||
Script_loadfont: ; 97b1c
|
||||
Script_textbox: ; 97b1c
|
||||
; script command 0x47
|
||||
|
||||
call LoadFont
|
||||
call OpenText
|
||||
ret
|
||||
; 97b20
|
||||
|
||||
|
@ -5,7 +5,7 @@ SelectMenu:: ; 13327
|
||||
jp UseRegisteredItem
|
||||
|
||||
.NotRegistered
|
||||
call LoadFont
|
||||
call OpenText
|
||||
ld b, BANK(ItemMayBeRegisteredText)
|
||||
ld hl, ItemMayBeRegisteredText
|
||||
call MapTextbox
|
||||
@ -139,7 +139,7 @@ UseRegisteredItem: ; 133c3
|
||||
; 133df
|
||||
|
||||
.NoFunction ; 133df
|
||||
call LoadFont
|
||||
call OpenText
|
||||
call CantUseItem
|
||||
call CloseText
|
||||
and a
|
||||
@ -147,7 +147,7 @@ UseRegisteredItem: ; 133c3
|
||||
; 133ea
|
||||
|
||||
.Current ; 133ea
|
||||
call LoadFont
|
||||
call OpenText
|
||||
call DoItemEffect
|
||||
call CloseText
|
||||
and a
|
||||
|
@ -55,7 +55,7 @@ StdScripts::
|
||||
PokeCenterNurseScript:
|
||||
; EVENT_WELCOMED_TO_POKECOM_CENTER is never set
|
||||
|
||||
loadfont
|
||||
opentext
|
||||
checkmorn
|
||||
iftrue .morn
|
||||
checkday
|
||||
@ -181,7 +181,7 @@ MerchandiseShelfScript:
|
||||
farjumptext MerchandiseShelfText
|
||||
|
||||
TownMapScript:
|
||||
loadfont
|
||||
opentext
|
||||
farwritetext TownMapText
|
||||
waitbutton
|
||||
special Special_TownMap
|
||||
@ -192,7 +192,7 @@ WindowScript:
|
||||
farjumptext WindowText
|
||||
|
||||
TVScript:
|
||||
loadfont
|
||||
opentext
|
||||
farwritetext TVText
|
||||
waitbutton
|
||||
closetext
|
||||
@ -202,7 +202,7 @@ HomepageScript:
|
||||
farjumptext HomepageText
|
||||
|
||||
Radio1Script:
|
||||
loadfont
|
||||
opentext
|
||||
writebyte $0
|
||||
special MapRadio
|
||||
closetext
|
||||
@ -210,7 +210,7 @@ Radio1Script:
|
||||
|
||||
Radio2Script:
|
||||
; Lucky Channel
|
||||
loadfont
|
||||
opentext
|
||||
writebyte $4
|
||||
special MapRadio
|
||||
closetext
|
||||
@ -220,7 +220,7 @@ TrashCanScript: ; 0xbc1a5
|
||||
farjumptext TrashCanText
|
||||
|
||||
PCScript:
|
||||
loadfont
|
||||
opentext
|
||||
special PokemonCenterPC
|
||||
closetext
|
||||
end
|
||||
@ -317,7 +317,7 @@ BugContestResultsScript:
|
||||
clearevent EVENT_CONTEST_OFFICER_HAS_EVERSTONE
|
||||
clearevent EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY
|
||||
clearevent EVENT_CONTEST_OFFICER_HAS_BERRY
|
||||
loadfont
|
||||
opentext
|
||||
farwritetext ContestResults_ReadyToJudgeText
|
||||
waitbutton
|
||||
special BugContestJudging
|
||||
@ -1385,7 +1385,7 @@ PackFullMScript:
|
||||
end
|
||||
|
||||
RematchGiftMScript:
|
||||
loadfont
|
||||
opentext
|
||||
checkcode VAR_CALLERID
|
||||
if_equal PHONE_SAILOR_HUEY, .Huey
|
||||
if_equal PHONE_YOUNGSTER_JOEY, .Joey
|
||||
@ -1753,14 +1753,14 @@ RematchGiftFScript:
|
||||
if_equal PHONE_PICNICKER_ERIN, .Erin
|
||||
|
||||
.Erin
|
||||
loadfont
|
||||
opentext
|
||||
farwritetext ErinRematchGiftText
|
||||
buttonsound
|
||||
end
|
||||
|
||||
GymStatue1Script:
|
||||
mapnametotext $0
|
||||
loadfont
|
||||
opentext
|
||||
farwritetext GymStatue_CityGymText
|
||||
waitbutton
|
||||
closetext
|
||||
@ -1768,7 +1768,7 @@ GymStatue1Script:
|
||||
|
||||
GymStatue2Script:
|
||||
mapnametotext $0
|
||||
loadfont
|
||||
opentext
|
||||
farwritetext GymStatue_CityGymText
|
||||
buttonsound
|
||||
farwritetext GymStatue_WinningTrainersText
|
||||
@ -1794,7 +1794,7 @@ ReceiveTogepiEggScript: ; 0xbcdc3
|
||||
|
||||
GameCornerCoinVendorScript: ; 0xbcdcd
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
farwritetext CoinVendor_WelcomeText
|
||||
buttonsound
|
||||
checkitem COIN_CASE
|
||||
@ -1887,7 +1887,7 @@ CoinVendor_MenuData2: ; 0xbce5c
|
||||
|
||||
HappinessCheckScript:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
special GetFirstPokemonHappiness
|
||||
if_less_than 50, .Unhappy
|
||||
if_less_than 150, .KindaHappy
|
||||
|
@ -571,7 +571,7 @@ Function16a3b: ; 16a3b
|
||||
ld a, [wDaycareMan]
|
||||
bit 0, a
|
||||
ret z
|
||||
callab Function16e1d
|
||||
callab CheckBreedmonCompatibility
|
||||
ld a, [wd265]
|
||||
and a
|
||||
ret z
|
||||
|
@ -2,7 +2,7 @@ FindItemInBallScript:: ; 0x122ce
|
||||
callasm .TryReceiveItem
|
||||
iffalse .no_room
|
||||
disappear LAST_TALKED
|
||||
loadfont
|
||||
opentext
|
||||
writetext .text_found
|
||||
playsound SFX_ITEM
|
||||
pause 60
|
||||
@ -12,7 +12,7 @@ FindItemInBallScript:: ; 0x122ce
|
||||
; 0x122e3
|
||||
|
||||
.no_room: ; 0x122e3
|
||||
loadfont
|
||||
opentext
|
||||
writetext .text_found
|
||||
waitbutton
|
||||
writetext .text_bag_full
|
||||
|
@ -111,7 +111,7 @@ DoPoisonStep:: ; 505da
|
||||
|
||||
.Script_MonFaintedToPoison: ; 50669
|
||||
callasm .PlayPoisonSFX
|
||||
loadfont
|
||||
opentext
|
||||
callasm .CheckWhitedOut
|
||||
iffalse .whiteout
|
||||
closetext
|
||||
|
@ -22,7 +22,7 @@ CloseText:: ; 2dcf
|
||||
ld a, $1
|
||||
ld [hOAMUpdate], a
|
||||
|
||||
call Function2de2
|
||||
call .CloseText
|
||||
|
||||
pop af
|
||||
ld [hOAMUpdate], a
|
||||
@ -31,7 +31,7 @@ CloseText:: ; 2dcf
|
||||
ret
|
||||
; 2de2
|
||||
|
||||
Function2de2:: ; 2de2
|
||||
.CloseText ; 2de2
|
||||
call ResetTextRelatedRAM
|
||||
xor a
|
||||
ld [hBGMapMode], a
|
||||
@ -48,17 +48,17 @@ Function2de2:: ; 2de2
|
||||
ret
|
||||
; 2e08
|
||||
|
||||
LoadFont:: ; 2e08
|
||||
OpenText:: ; 2e08
|
||||
call ResetTextRelatedRAM
|
||||
ld a, [hROMBank]
|
||||
push af
|
||||
ld a, BANK(Function6454) ; and BANK(Function64bf)
|
||||
rst Bankswitch
|
||||
|
||||
call Function6454
|
||||
call Function6454 ; clear bgmap
|
||||
call SpeechTextBox
|
||||
call Function2e20
|
||||
call Function64bf
|
||||
call Function2e20 ; anchor bgmap
|
||||
call Function64bf ; load font
|
||||
pop af
|
||||
rst Bankswitch
|
||||
|
||||
|
@ -476,9 +476,9 @@ pocketisfull: macro
|
||||
db pocketisfull_command
|
||||
endm
|
||||
|
||||
enum loadfont_command
|
||||
loadfont: macro
|
||||
db loadfont_command
|
||||
enum opentext_command
|
||||
opentext: macro
|
||||
db opentext_command
|
||||
endm
|
||||
|
||||
enum refreshscreen_command
|
||||
|
650
main.asm
650
main.asm
@ -254,581 +254,9 @@ INCLUDE "engine/math.asm"
|
||||
ItemAttributes: ; 67c1
|
||||
INCLUDE "items/item_attributes.asm"
|
||||
; 6ec1
|
||||
INCLUDE "engine/npc_movement.asm"
|
||||
|
||||
|
||||
Function6ec1: ; 6ec1
|
||||
|
||||
ld hl, OBJECT_PALETTE
|
||||
add hl, bc
|
||||
bit 5, [hl]
|
||||
jr z, .not_bit_5
|
||||
|
||||
ld hl, OBJECT_FLAGS1
|
||||
add hl, bc
|
||||
bit 4, [hl] ; lost
|
||||
push hl
|
||||
push bc
|
||||
call Function6f2c
|
||||
pop bc
|
||||
pop hl
|
||||
ret c
|
||||
jr .resume
|
||||
|
||||
.not_bit_5
|
||||
ld hl, OBJECT_FLAGS1
|
||||
add hl, bc
|
||||
bit 4, [hl]
|
||||
jr nz, .resume
|
||||
push hl
|
||||
push bc
|
||||
call Function6f07
|
||||
pop bc
|
||||
pop hl
|
||||
ret c
|
||||
|
||||
.resume
|
||||
bit 6, [hl]
|
||||
jr nz, .bit_6
|
||||
|
||||
push hl
|
||||
push bc
|
||||
call WillPersonBumpIntoSomeoneElse
|
||||
pop bc
|
||||
pop hl
|
||||
ret c
|
||||
|
||||
.bit_6
|
||||
bit 5, [hl]
|
||||
jr nz, .bit_5
|
||||
push hl
|
||||
call HasPersonReachedMovementLimit
|
||||
pop hl
|
||||
ret c
|
||||
|
||||
push hl
|
||||
call IsPersonMovingOffEdgeOfScreen
|
||||
pop hl
|
||||
ret c
|
||||
|
||||
.bit_5
|
||||
and a
|
||||
ret
|
||||
; 6f07
|
||||
|
||||
|
||||
Function6f07: ; 6f07
|
||||
call Function6f5f
|
||||
ret c
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld d, [hl]
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld e, [hl]
|
||||
ld hl, OBJECT_PALETTE
|
||||
add hl, bc
|
||||
bit 7, [hl]
|
||||
jp nz, Function6fa1
|
||||
ld hl, OBJECT_NEXT_TILE
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
ld d, a
|
||||
call GetTileCollision
|
||||
and a
|
||||
jr z, Function6f3e
|
||||
scf
|
||||
ret
|
||||
; 6f2c
|
||||
|
||||
Function6f2c: ; 6f2c
|
||||
call Function6f5f
|
||||
ret c
|
||||
ld hl, OBJECT_NEXT_TILE
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
call GetTileCollision
|
||||
cp $1
|
||||
jr z, Function6f3e
|
||||
scf
|
||||
ret
|
||||
; 6f3e
|
||||
|
||||
Function6f3e: ; 6f3e
|
||||
ld hl, OBJECT_NEXT_TILE
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
call Function6f7f
|
||||
ret nc
|
||||
push af
|
||||
ld hl, OBJECT_DIRECTION_WALKING
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
and 3
|
||||
ld e, a
|
||||
ld d, 0
|
||||
ld hl, .data_6f5b
|
||||
add hl, de
|
||||
pop af
|
||||
and [hl]
|
||||
ret z
|
||||
scf
|
||||
ret
|
||||
; 6f5b
|
||||
|
||||
.data_6f5b
|
||||
db 1 << DOWN, 1 << UP, 1 << RIGHT, 1 << LEFT
|
||||
; 6f5f
|
||||
|
||||
Function6f5f: ; 6f5f
|
||||
ld hl, OBJECT_STANDING_TILE
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
call Function6f7f
|
||||
ret nc
|
||||
push af
|
||||
ld hl, OBJECT_DIRECTION_WALKING
|
||||
add hl, bc
|
||||
and 3
|
||||
ld e, a
|
||||
ld d, 0
|
||||
ld hl, .data_6f7b
|
||||
add hl, de
|
||||
pop af
|
||||
and [hl]
|
||||
ret z
|
||||
scf
|
||||
ret
|
||||
; 6f7b
|
||||
|
||||
.data_6f7b
|
||||
db 1 << UP, 1 << DOWN, 1 << LEFT, 1 << RIGHT
|
||||
; 6f7f
|
||||
|
||||
Function6f7f: ; 6f7f
|
||||
ld d, a
|
||||
and $f0
|
||||
cp $b0
|
||||
jr z, .done
|
||||
cp $c0
|
||||
jr z, .done
|
||||
xor a
|
||||
ret
|
||||
|
||||
.done
|
||||
ld a, d
|
||||
and 7
|
||||
ld e, a
|
||||
ld d, 0
|
||||
ld hl, .data_6f99
|
||||
add hl, de
|
||||
ld a, [hl]
|
||||
scf
|
||||
ret
|
||||
; 6f99
|
||||
|
||||
.data_6f99
|
||||
db 8, 4, 1, 2
|
||||
db 10, 6, 9, 5
|
||||
; 6fa1
|
||||
|
||||
Function6fa1: ; 6fa1
|
||||
ld hl, OBJECT_DIRECTION_WALKING
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
and 3
|
||||
jr z, .asm_6fb2
|
||||
dec a
|
||||
jr z, .asm_6fb7
|
||||
dec a
|
||||
jr z, .asm_6fbb
|
||||
jr .asm_6fbf
|
||||
|
||||
.asm_6fb2
|
||||
inc e
|
||||
push de
|
||||
inc d
|
||||
jr .asm_6fc2
|
||||
|
||||
.asm_6fb7
|
||||
push de
|
||||
inc d
|
||||
jr .asm_6fc2
|
||||
|
||||
.asm_6fbb
|
||||
push de
|
||||
inc e
|
||||
jr .asm_6fc2
|
||||
|
||||
.asm_6fbf
|
||||
inc d
|
||||
push de
|
||||
inc e
|
||||
|
||||
.asm_6fc2
|
||||
call GetCoordTile
|
||||
call GetTileCollision
|
||||
pop de
|
||||
and a
|
||||
jr nz, .asm_6fd7
|
||||
call GetCoordTile
|
||||
call GetTileCollision
|
||||
and a
|
||||
jr nz, .asm_6fd7
|
||||
xor a
|
||||
ret
|
||||
|
||||
.asm_6fd7
|
||||
scf
|
||||
ret
|
||||
; 6fd9
|
||||
|
||||
|
||||
|
||||
CheckFacingObject:: ; 6fd9
|
||||
|
||||
call GetFacingTileCoord
|
||||
|
||||
; Double the distance for counter tiles.
|
||||
call CheckCounterTile
|
||||
jr nz, .asm_6ff1
|
||||
|
||||
ld a, [PlayerNextMapX]
|
||||
sub d
|
||||
cpl
|
||||
inc a
|
||||
add d
|
||||
ld d, a
|
||||
|
||||
ld a, [PlayerNextMapY]
|
||||
sub e
|
||||
cpl
|
||||
inc a
|
||||
add e
|
||||
ld e, a
|
||||
|
||||
.asm_6ff1
|
||||
ld bc, ObjectStructs ; redundant
|
||||
ld a, 0
|
||||
ld [hMapObjectIndexBuffer], a
|
||||
call IsNPCAtCoord
|
||||
ret nc
|
||||
ld hl, OBJECT_DIRECTION_WALKING
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp STANDING
|
||||
jr z, .standing
|
||||
xor a
|
||||
ret
|
||||
|
||||
.standing
|
||||
scf
|
||||
ret
|
||||
; 7009
|
||||
|
||||
|
||||
WillPersonBumpIntoSomeoneElse: ; 7009
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld d, [hl]
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld e, [hl]
|
||||
jr IsNPCAtCoord
|
||||
; 7015
|
||||
|
||||
Function7015: ; unreferenced
|
||||
ld a, [hMapObjectIndexBuffer]
|
||||
call GetObjectStruct
|
||||
call .CheckWillBeFacingNPC
|
||||
call IsNPCAtCoord
|
||||
ret
|
||||
|
||||
.CheckWillBeFacingNPC: ; 7021
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld d, [hl]
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld e, [hl]
|
||||
call GetSpriteDirection
|
||||
and a
|
||||
jr z, .down
|
||||
cp OW_UP
|
||||
jr z, .up
|
||||
cp OW_LEFT
|
||||
jr z, .left
|
||||
inc d
|
||||
ret
|
||||
|
||||
.down
|
||||
inc e
|
||||
ret
|
||||
|
||||
.up
|
||||
dec e
|
||||
ret
|
||||
|
||||
.left
|
||||
dec d
|
||||
ret
|
||||
; 7041
|
||||
|
||||
IsNPCAtCoord: ; 7041
|
||||
ld bc, ObjectStructs
|
||||
xor a
|
||||
.loop
|
||||
ld [hObjectStructIndexBuffer], a
|
||||
call GetObjectSprite
|
||||
jr z, .next
|
||||
|
||||
ld hl, OBJECT_FLAGS1
|
||||
add hl, bc
|
||||
bit 7, [hl]
|
||||
jr nz, .next
|
||||
|
||||
ld hl, OBJECT_PALETTE
|
||||
add hl, bc
|
||||
bit 7, [hl]
|
||||
jr z, .got
|
||||
|
||||
call Function7171
|
||||
jr nc, .ok
|
||||
jr .ok2
|
||||
|
||||
.got
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr nz, .ok
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp e
|
||||
jr nz, .ok
|
||||
|
||||
.ok2
|
||||
ld a, [hMapObjectIndexBuffer]
|
||||
ld l, a
|
||||
ld a, [hObjectStructIndexBuffer]
|
||||
cp l
|
||||
jr nz, .setcarry
|
||||
|
||||
.ok
|
||||
ld hl, OBJECT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr nz, .next
|
||||
ld hl, OBJECT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp e
|
||||
jr nz, .next
|
||||
ld a, [hMapObjectIndexBuffer]
|
||||
ld l, a
|
||||
ld a, [hObjectStructIndexBuffer]
|
||||
cp l
|
||||
jr nz, .setcarry
|
||||
|
||||
.next
|
||||
ld hl, OBJECT_STRUCT_LENGTH
|
||||
add hl, bc
|
||||
ld b, h
|
||||
ld c, l
|
||||
ld a, [hObjectStructIndexBuffer]
|
||||
inc a
|
||||
cp NUM_OBJECT_STRUCTS
|
||||
jr nz, .loop
|
||||
and a
|
||||
ret
|
||||
|
||||
.setcarry
|
||||
scf
|
||||
ret
|
||||
; 70a4
|
||||
|
||||
HasPersonReachedMovementLimit: ; 70a4
|
||||
ld hl, OBJECT_RADIUS
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
and a
|
||||
jr z, .nope
|
||||
and $f
|
||||
jr z, .check_y
|
||||
ld e, a
|
||||
ld d, a
|
||||
ld hl, OBJECT_INIT_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
sub d
|
||||
ld d, a
|
||||
ld a, [hl]
|
||||
add e
|
||||
ld e, a
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr z, .yes
|
||||
cp e
|
||||
jr z, .yes
|
||||
|
||||
.check_y
|
||||
ld hl, OBJECT_RADIUS
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
swap a
|
||||
and $f
|
||||
jr z, .nope
|
||||
ld e, a
|
||||
ld d, a
|
||||
ld hl, OBJECT_INIT_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
sub d
|
||||
ld d, a
|
||||
ld a, [hl]
|
||||
add e
|
||||
ld e, a
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr z, .yes
|
||||
cp e
|
||||
jr z, .yes
|
||||
|
||||
.nope
|
||||
xor a
|
||||
ret
|
||||
|
||||
.yes
|
||||
scf
|
||||
ret
|
||||
; 70ed
|
||||
|
||||
IsPersonMovingOffEdgeOfScreen: ; 70ed
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [XCoord]
|
||||
cp [hl]
|
||||
jr z, .check_y
|
||||
jr nc, .yes
|
||||
add $9
|
||||
cp [hl]
|
||||
jr c, .yes
|
||||
|
||||
.check_y
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [YCoord]
|
||||
cp [hl]
|
||||
jr z, .nope
|
||||
jr nc, .yes
|
||||
add $8
|
||||
cp [hl]
|
||||
jr c, .yes
|
||||
|
||||
.nope
|
||||
and a
|
||||
ret
|
||||
|
||||
.yes
|
||||
scf
|
||||
ret
|
||||
; 7113
|
||||
|
||||
Function7113: ; unreferenced
|
||||
ld a, [PlayerNextMapX]
|
||||
ld d, a
|
||||
ld a, [PlayerNextMapY]
|
||||
ld e, a
|
||||
ld bc, ObjectStructs
|
||||
xor a
|
||||
.loop
|
||||
ld [hObjectStructIndexBuffer], a
|
||||
call GetObjectSprite
|
||||
jr z, .next
|
||||
ld hl, OBJECT_MOVEMENTTYPE
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp SPRITEMOVEDATA_SNORLAX
|
||||
jr nz, .not_snorlax
|
||||
call Function7171
|
||||
jr c, .yes
|
||||
jr .next
|
||||
|
||||
.not_snorlax
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp e
|
||||
jr nz, .check_current_coords
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr nz, .check_current_coords
|
||||
ld a, [hObjectStructIndexBuffer]
|
||||
cp $0
|
||||
jr z, .next
|
||||
jr .yes
|
||||
|
||||
.check_current_coords
|
||||
ld hl, OBJECT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp e
|
||||
jr nz, .next
|
||||
ld hl, OBJECT_MAP_X
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
cp d
|
||||
jr nz, .next
|
||||
jr .yes
|
||||
|
||||
.next
|
||||
ld hl, OBJECT_STRUCT_LENGTH
|
||||
add hl, bc
|
||||
ld b, h
|
||||
ld c, l
|
||||
ld a, [hObjectStructIndexBuffer]
|
||||
inc a
|
||||
cp NUM_OBJECT_STRUCTS
|
||||
jr nz, .loop
|
||||
xor a
|
||||
ret
|
||||
|
||||
.yes
|
||||
scf
|
||||
ret
|
||||
; 7171
|
||||
|
||||
|
||||
Function7171: ; 7171
|
||||
ld hl, OBJECT_NEXT_MAP_X
|
||||
add hl, bc
|
||||
ld a, d
|
||||
sub [hl]
|
||||
jr c, .nope
|
||||
cp $2
|
||||
jr nc, .nope
|
||||
ld hl, OBJECT_NEXT_MAP_Y
|
||||
add hl, bc
|
||||
ld a, e
|
||||
sub [hl]
|
||||
jr c, .nope
|
||||
cp $2
|
||||
jr nc, .nope
|
||||
scf
|
||||
ret
|
||||
|
||||
.nope
|
||||
and a
|
||||
ret
|
||||
; 718d
|
||||
|
||||
GetFirstPokemonHappiness: ; 718d
|
||||
ld hl, PartyMon1Happiness
|
||||
ld bc, PARTYMON_STRUCT_LENGTH
|
||||
@ -1001,48 +429,48 @@ DaycareStep:: ; 7282
|
||||
|
||||
ld a, [wDaycareMan]
|
||||
bit 0, a
|
||||
jr z, .asm_72a4
|
||||
jr z, .daycare_lady
|
||||
|
||||
ld a, [wBreedMon1Level] ; level
|
||||
cp 100
|
||||
jr nc, .asm_72a4
|
||||
jr nc, .daycare_lady
|
||||
ld hl, wBreedMon1Exp + 2 ; exp
|
||||
inc [hl]
|
||||
jr nz, .asm_72a4
|
||||
jr nz, .daycare_lady
|
||||
dec hl
|
||||
inc [hl]
|
||||
jr nz, .asm_72a4
|
||||
jr nz, .daycare_lady
|
||||
dec hl
|
||||
inc [hl]
|
||||
ld a, [hl]
|
||||
cp $50
|
||||
jr c, .asm_72a4
|
||||
jr c, .daycare_lady
|
||||
ld a, $50
|
||||
ld [hl], a
|
||||
|
||||
.asm_72a4
|
||||
.daycare_lady
|
||||
ld a, [wDaycareLady]
|
||||
bit 0, a
|
||||
jr z, .asm_72c6
|
||||
jr z, .check_egg
|
||||
|
||||
ld a, [wBreedMon2Level] ; level
|
||||
cp 100
|
||||
jr nc, .asm_72c6
|
||||
jr nc, .check_egg
|
||||
ld hl, wBreedMon2Exp + 2 ; exp
|
||||
inc [hl]
|
||||
jr nz, .asm_72c6
|
||||
jr nz, .check_egg
|
||||
dec hl
|
||||
inc [hl]
|
||||
jr nz, .asm_72c6
|
||||
jr nz, .check_egg
|
||||
dec hl
|
||||
inc [hl]
|
||||
ld a, [hl]
|
||||
cp $50
|
||||
jr c, .asm_72c6
|
||||
ld a, $50
|
||||
cp 5242880 / $10000
|
||||
jr c, .check_egg
|
||||
ld a, 5242880 / $10000
|
||||
ld [hl], a
|
||||
|
||||
.asm_72c6
|
||||
.check_egg
|
||||
ld hl, wDaycareMan
|
||||
bit 5, [hl] ; egg
|
||||
ret z
|
||||
@ -1052,22 +480,22 @@ DaycareStep:: ; 7282
|
||||
|
||||
call Random
|
||||
ld [hl], a
|
||||
callab Function16e1d
|
||||
callab CheckBreedmonCompatibility
|
||||
ld a, [wd265]
|
||||
cp $e6
|
||||
ld b, $50
|
||||
jr nc, .asm_72f8
|
||||
cp 230
|
||||
ld b, -1 + 32 percent
|
||||
jr nc, .okay
|
||||
ld a, [wd265]
|
||||
cp $aa
|
||||
ld b, $28
|
||||
jr nc, .asm_72f8
|
||||
cp 170
|
||||
ld b, 16 percent
|
||||
jr nc, .okay
|
||||
ld a, [wd265]
|
||||
cp $6e
|
||||
ld b, $1e
|
||||
jr nc, .asm_72f8
|
||||
ld b, $a
|
||||
cp 110
|
||||
ld b, 12 percent
|
||||
jr nc, .okay
|
||||
ld b, 4 percent
|
||||
|
||||
.asm_72f8
|
||||
.okay
|
||||
call Random
|
||||
cp b
|
||||
ret nc
|
||||
@ -3349,7 +2777,7 @@ TrySurfOW:: ; c9e7
|
||||
|
||||
|
||||
AskSurfScript: ; ca2c
|
||||
loadfont
|
||||
opentext
|
||||
writetext AskSurfText
|
||||
yesorno
|
||||
iftrue UsedSurfScript
|
||||
@ -3574,7 +3002,7 @@ UnknownText_0xcb81: ; 0xcb81
|
||||
; 0xcb86
|
||||
|
||||
Script_AskWaterfall: ; 0xcb86
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0xcb90
|
||||
yesorno
|
||||
iftrue Script_UsedWaterfall
|
||||
@ -3924,7 +3352,7 @@ AskStrengthScript:
|
||||
; 0xcd5f
|
||||
|
||||
.AskStrength: ; 0xcd5f
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0xcd69
|
||||
yesorno
|
||||
iftrue Script_UsedStrength
|
||||
@ -4127,7 +3555,7 @@ UnknownText_0xce69: ; 0xce69
|
||||
; 0xce6e
|
||||
|
||||
Script_AskWhirlpoolOW: ; 0xce6e
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0xce78
|
||||
yesorno
|
||||
iftrue Script_UsedWhirlpool
|
||||
@ -4219,7 +3647,7 @@ TryHeadbuttOW:: ; cec9
|
||||
; cedc
|
||||
|
||||
AskHeadbuttScript: ; 0xcedc
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0xcee6
|
||||
yesorno
|
||||
iftrue HeadbuttScript
|
||||
@ -4319,7 +3747,7 @@ AskRockSmashScript: ; 0xcf5d
|
||||
callasm HasRockSmash
|
||||
if_equal 1, .no
|
||||
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0xcf77
|
||||
yesorno
|
||||
iftrue RockSmashScript
|
||||
@ -4758,7 +4186,7 @@ TryCutOW:: ; d186
|
||||
; d1a9
|
||||
|
||||
AskCutScript: ; 0xd1a9
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0xd1c8
|
||||
yesorno
|
||||
iffalse .script_d1b8
|
||||
@ -8601,7 +8029,7 @@ BugCatchingContestBattleScript:: ; 0x135eb
|
||||
|
||||
BugCatchingContestOverScript:: ; 0x135f8
|
||||
playsound SFX_ELEVATOR_END
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1360f
|
||||
waitbutton
|
||||
jump BugCatchingContestReturnToGateScript
|
||||
@ -8609,7 +8037,7 @@ BugCatchingContestOverScript:: ; 0x135f8
|
||||
|
||||
BugCatchingContestOutOfBallsScript: ; 0x13603
|
||||
playsound SFX_ELEVATOR_END
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x13614
|
||||
waitbutton
|
||||
|
||||
@ -8631,7 +8059,7 @@ UnknownText_0x13614: ; 0x13614
|
||||
; 0x13619
|
||||
|
||||
RepelWoreOffScript:: ; 0x13619
|
||||
loadfont
|
||||
opentext
|
||||
writetext .text
|
||||
waitbutton
|
||||
closetext
|
||||
@ -8645,7 +8073,7 @@ RepelWoreOffScript:: ; 0x13619
|
||||
; 0x13625
|
||||
|
||||
SignpostItemScript:: ; 0x13625
|
||||
loadfont
|
||||
opentext
|
||||
copybytetovar EngineBuffer3
|
||||
itemtotext 0, 0
|
||||
writetext .found_text
|
||||
@ -20071,7 +19499,7 @@ SeenByTrainerScript:: ; 0xbe675
|
||||
; 0xbe68a
|
||||
|
||||
StartBattleWithMapTrainerScript: ; 0xbe68a
|
||||
loadfont
|
||||
opentext
|
||||
trainertext $0
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -16,7 +16,7 @@ AzaleaGym_MapScriptHeader:
|
||||
|
||||
BugsyScript:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_BUGSY
|
||||
iftrue .FightDone
|
||||
writetext BugsyText_INeverLose
|
||||
@ -27,7 +27,7 @@ BugsyScript:
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_BUGSY
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_ReceivedHiveBadge
|
||||
playsound SFX_GET_BADGE
|
||||
waitsfx
|
||||
@ -74,7 +74,7 @@ TrainerTwinsAmyandmay1:
|
||||
|
||||
.AfterScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext TwinsAmyandmay1AfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
@ -85,7 +85,7 @@ TrainerTwinsAmyandmay2:
|
||||
|
||||
.AfterScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext TwinsAmyandmay2AfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
@ -96,7 +96,7 @@ TrainerBug_catcherbenny:
|
||||
|
||||
.AfterScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext Bug_catcherbennyAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
@ -107,7 +107,7 @@ TrainerBug_catcherAl:
|
||||
|
||||
.AfterScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext Bug_catcherAlAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
@ -118,7 +118,7 @@ TrainerBug_catcherJosh:
|
||||
|
||||
.AfterScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext Bug_catcherJoshAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
@ -128,14 +128,14 @@ AzaleaGymGuyScript:
|
||||
faceplayer
|
||||
checkevent EVENT_BEAT_BUGSY
|
||||
iftrue .AzaleaGymGuyWinScript
|
||||
loadfont
|
||||
opentext
|
||||
writetext AzaleaGymGuyText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
.AzaleaGymGuyWinScript
|
||||
loadfont
|
||||
opentext
|
||||
writetext AzaleaGymGuyWinText
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -11,7 +11,7 @@ AzaleaMart_MapScriptHeader:
|
||||
db 0
|
||||
|
||||
ClerkScript_0x18e040:
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_AZALEA
|
||||
closetext
|
||||
end
|
||||
|
@ -61,7 +61,7 @@ UnknownScript_0x198034:
|
||||
spriteface PLAYER, UP
|
||||
UnknownScript_0x198049:
|
||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x19814d
|
||||
waitbutton
|
||||
closetext
|
||||
@ -98,7 +98,7 @@ UnknownScript_0x198081:
|
||||
|
||||
UnknownScript_0x198091:
|
||||
playmusic MUSIC_RIVAL_AFTER
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x198233
|
||||
waitbutton
|
||||
closetext
|
||||
@ -119,7 +119,7 @@ AzaleaRocketScript_0x1980ae:
|
||||
|
||||
GrampsScript_0x1980b1:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_CLEARED_SLOWPOKE_WELL
|
||||
iftrue UnknownScript_0x1980bf
|
||||
writetext UnknownText_0x19841b
|
||||
@ -140,7 +140,7 @@ YoungsterScript_0x1980c8:
|
||||
jumptextfaceplayer UnknownText_0x19851a
|
||||
|
||||
SlowpokeScript_0x1980cb:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1985b0
|
||||
pause 60
|
||||
writetext UnknownText_0x1985c3
|
||||
@ -152,7 +152,7 @@ SlowpokeScript_0x1980cb:
|
||||
WoosterScript:
|
||||
; unused
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext WoosterText
|
||||
cry QUAGSIRE
|
||||
waitbutton
|
||||
@ -161,7 +161,7 @@ WoosterScript:
|
||||
|
||||
UnknownScript_0x1980e5:
|
||||
applymovement PLAYER, MovementData_0x198148
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1985df
|
||||
buttonsound
|
||||
spriteface AZALEATOWN_KURT_OUTSIDE, RIGHT
|
||||
@ -180,7 +180,7 @@ UnknownScript_0x1980e5:
|
||||
|
||||
KurtOutsideScript_0x19810c:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x198628
|
||||
waitbutton
|
||||
spriteface AZALEATOWN_KURT_OUTSIDE, LEFT
|
||||
|
@ -26,7 +26,7 @@ BattleTower1F_MapScriptHeader:
|
||||
if_equal $2, .priorityjump1
|
||||
if_equal $3, .SkipEverything
|
||||
if_equal $4, .SkipEverything
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_WeveBeenWaitingForYou
|
||||
waitbutton
|
||||
closetext
|
||||
@ -45,7 +45,7 @@ BattleTower1F_MapScriptHeader:
|
||||
end
|
||||
|
||||
MapBattleTower1FSignpost0Script:
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_ReadBattleTowerRules
|
||||
yesorno
|
||||
iffalse UnknownScript_0x9e3e0
|
||||
@ -59,7 +59,7 @@ ReceptionistScript_0x9e3e2:
|
||||
writebyte BATTLETOWERACTION_02 ; copybytetovar sBattleTowerChallengeState
|
||||
special BattleTowerAction
|
||||
if_equal $3, Script_BeatenAllTrainers2 ; maps/BattleTowerBattleRoom.asm
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_BattleTowerWelcomesYou
|
||||
buttonsound
|
||||
writebyte BATTLETOWERACTION_00 ; if new save file: bit 1, [sbe4f]
|
||||
@ -244,14 +244,14 @@ UnknownScript_0x9e550:
|
||||
end
|
||||
|
||||
BattleTower_LeftWithoutSaving:
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_BattleTower_LeftWithoutSaving
|
||||
waitbutton
|
||||
jump Script_BattleTowerHopeToServeYouAgain
|
||||
|
||||
YoungsterScript_0x9e55d:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_BattleTowerYoungster
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -30,7 +30,7 @@ Script_BattleRoomLoop: ; 0x9f425
|
||||
warpsound
|
||||
waitsfx
|
||||
applymovement BATTLETOWERBATTLEROOM_YOUNGSTER, MovementData_BattleTowerBattleRoomOpponentWalksIn
|
||||
loadfont
|
||||
opentext
|
||||
battletowertext 1
|
||||
buttonsound
|
||||
closetext
|
||||
@ -45,7 +45,7 @@ Script_BattleRoomLoop: ; 0x9f425
|
||||
disappear BATTLETOWERBATTLEROOM_YOUNGSTER
|
||||
applymovement BATTLETOWERBATTLEROOM_RECEPTIONIST, MovementData_BattleTowerBattleRoomReceptionistWalksToPlayer
|
||||
applymovement PLAYER, MovementData_BattleTowerBattleRoomPlayerTurnsToFaceReceptionist
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_YourPkmnWillBeHealedToFullHealth
|
||||
waitbutton
|
||||
closetext
|
||||
@ -55,7 +55,7 @@ Script_BattleRoomLoop: ; 0x9f425
|
||||
pause 60
|
||||
special FadeInPalettes
|
||||
special RestartMapMusic
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_NextUpOpponentNo
|
||||
yesorno
|
||||
iffalse Script_DontBattleNextOpponent
|
||||
@ -90,7 +90,7 @@ Script_DontSaveAndEndTheSession: ; 0x9f4a3
|
||||
closetext
|
||||
special FadeOutPalettes
|
||||
warpfacing UP, BATTLE_TOWER_1F, $7, $7
|
||||
loadfont
|
||||
opentext
|
||||
jump Script_BattleTowerHopeToServeYouAgain
|
||||
|
||||
Script_FailedBattleTowerChallenge:
|
||||
@ -99,7 +99,7 @@ Script_FailedBattleTowerChallenge:
|
||||
warpfacing UP, BATTLE_TOWER_1F, $7, $7
|
||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||
special BattleTowerAction
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_ThanksForVisiting
|
||||
waitbutton
|
||||
closetext
|
||||
@ -110,14 +110,14 @@ Script_BeatenAllTrainers: ; 0x9f4d9
|
||||
special Special_BattleTowerFade
|
||||
warpfacing UP, BATTLE_TOWER_1F, $7, $7
|
||||
Script_BeatenAllTrainers2:
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_CongratulationsYouveBeatenAllTheTrainers
|
||||
jump Script_GivePlayerHisPrize
|
||||
|
||||
UnreferencedScript_0x9f4eb:
|
||||
writebyte BATTLETOWERACTION_CHALLENGECANCELED
|
||||
special BattleTowerAction
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_TooMuchTimeElapsedNoRegister
|
||||
waitbutton
|
||||
closetext
|
||||
@ -128,7 +128,7 @@ UnreferencedScript_0x9f4f7:
|
||||
special BattleTowerAction
|
||||
writebyte BATTLETOWERACTION_06
|
||||
special BattleTowerAction
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_ThanksForVisiting
|
||||
writetext Text_WeHopeToServeYouAgain
|
||||
waitbutton
|
||||
|
@ -71,7 +71,7 @@ BattleTowerHallway_MapScriptHeader:
|
||||
|
||||
.EnterBattleRoom: ; 0x9f61f
|
||||
faceperson PLAYER, BATTLETOWERHALLWAY_RECEPTIONIST
|
||||
loadfont
|
||||
opentext
|
||||
writetext Text_PleaseStepThisWay
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -10,7 +10,7 @@ BillsHouse_MapScriptHeader:
|
||||
|
||||
GrampsScript_0x189538:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GAVE_KURT_APRICORNS
|
||||
iftrue UnknownScript_0x1896ba
|
||||
checkevent EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA
|
||||
|
@ -36,7 +36,7 @@ BlackthornCity_MapScriptHeader:
|
||||
|
||||
SuperNerdScript_0x1a46e8:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_CLAIR
|
||||
iftrue UnknownScript_0x1a4702
|
||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||
@ -66,7 +66,7 @@ GrampsScript_0x1a470b:
|
||||
|
||||
BlackBeltScript_0x1a470e:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||
iftrue UnknownScript_0x1a471c
|
||||
writetext UnknownText_0x1a494a
|
||||
@ -91,7 +91,7 @@ CooltrainerFScript_0x1a4728:
|
||||
|
||||
SantosScript:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_SPELL_TAG_FROM_SANTOS
|
||||
iftrue SantosSaturdayScript
|
||||
checkcode VAR_WEEKDAY
|
||||
|
@ -10,7 +10,7 @@ BlackthornDodrioTradeHouse_MapScriptHeader:
|
||||
|
||||
Emy:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
trade $3
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -13,7 +13,7 @@ GrannyScript_0x195949:
|
||||
jumptextfaceplayer UnknownText_0x19595c
|
||||
|
||||
EkansScript_0x19594c:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1959ee
|
||||
cry DRATINI
|
||||
waitbutton
|
||||
|
@ -32,7 +32,7 @@ BlackthornGym1F_MapScriptHeader:
|
||||
|
||||
ClairScript_0x194e24:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkflag ENGINE_RISINGBADGE
|
||||
iftrue UnknownScript_0x194e69
|
||||
checkevent EVENT_BEAT_CLAIR
|
||||
@ -45,7 +45,7 @@ ClairScript_0x194e24:
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_CLAIR
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x19500e
|
||||
waitbutton
|
||||
closetext
|
||||
@ -98,7 +98,7 @@ TrainerCooltrainermPaul:
|
||||
|
||||
CooltrainermPaulScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1953f1
|
||||
waitbutton
|
||||
closetext
|
||||
@ -109,7 +109,7 @@ TrainerCooltrainermMike:
|
||||
|
||||
CooltrainermMikeScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x195467
|
||||
waitbutton
|
||||
closetext
|
||||
@ -120,7 +120,7 @@ TrainerCooltrainerfLola:
|
||||
|
||||
CooltrainerfLolaScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x195516
|
||||
waitbutton
|
||||
closetext
|
||||
@ -128,7 +128,7 @@ CooltrainerfLolaScript:
|
||||
|
||||
BlackthornGymGuyScript:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_CLAIR
|
||||
iftrue .BlackthornGymGuyWinScript
|
||||
writetext BlackthornGymGuyText
|
||||
|
@ -53,7 +53,7 @@ BlackthornGym2F_MapScriptHeader:
|
||||
.Fall
|
||||
pause 30
|
||||
scall .FX
|
||||
loadfont
|
||||
opentext
|
||||
writetext BlackthornGym2FBoulderFellText
|
||||
waitbutton
|
||||
closetext
|
||||
@ -73,7 +73,7 @@ TrainerCooltrainermCody:
|
||||
|
||||
CooltrainermCodyScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1957d5
|
||||
waitbutton
|
||||
closetext
|
||||
@ -84,7 +84,7 @@ TrainerCooltrainerfFran:
|
||||
|
||||
CooltrainerfFranScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x195883
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -11,7 +11,7 @@ BlackthornMart_MapScriptHeader:
|
||||
db 0
|
||||
|
||||
ClerkScript_0x195a5d:
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_BLACKTHORN
|
||||
closetext
|
||||
end
|
||||
|
@ -10,7 +10,7 @@ BluesHouse_MapScriptHeader:
|
||||
|
||||
DaisyScript_0x19b0d0:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkcode VAR_HOUR
|
||||
if_equal $f, UnknownScript_0x19b0de
|
||||
writetext UnknownText_0x19b130
|
||||
@ -38,7 +38,7 @@ UnknownScript_0x19b0de:
|
||||
pause 60
|
||||
special FadeInPalettes
|
||||
special RestartMapMusic
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x19b296
|
||||
special PlayCurMonCry
|
||||
buttonsound
|
||||
|
@ -49,7 +49,7 @@ UnknownScript_0x1809ad:
|
||||
|
||||
BrunoScript_0x1809c5:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_ELITE_4_BRUNO
|
||||
iftrue UnknownScript_0x1809f3
|
||||
writetext UnknownText_0x1809fe
|
||||
@ -60,7 +60,7 @@ BrunoScript_0x1809c5:
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_ELITE_4_BRUNO
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x180b3c
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -46,7 +46,7 @@ UnknownScript_0x185c0d:
|
||||
spriteface BURNEDTOWER1F_SUPER_NERD, DOWN
|
||||
showemote EMOTE_SHOCK, BURNEDTOWER1F_SUPER_NERD, 15
|
||||
applymovement BURNEDTOWER1F_SUPER_NERD, MovementData_0x185cd3
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x185ecc
|
||||
waitbutton
|
||||
closetext
|
||||
@ -63,7 +63,7 @@ UnknownScript_0x185c25:
|
||||
applymovement PLAYER, MovementData_0x185ccd
|
||||
applymovement BURNEDTOWER1F_SILVER, MovementData_0x185ccf
|
||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x185cd9
|
||||
waitbutton
|
||||
closetext
|
||||
@ -99,7 +99,7 @@ UnknownScript_0x185c70:
|
||||
|
||||
UnknownScript_0x185c80:
|
||||
playmusic MUSIC_RIVAL_AFTER
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x185de2
|
||||
waitbutton
|
||||
closetext
|
||||
@ -117,7 +117,7 @@ UnknownScript_0x185c80:
|
||||
applymovement PLAYER, MovementData_0x185cd1
|
||||
playsound SFX_KINESIS
|
||||
showemote EMOTE_SHOCK, BURNEDTOWER1F_SILVER, 20
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x185e75
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -106,7 +106,7 @@ UnknownScript_0x18616b:
|
||||
|
||||
SuperNerdScript_0x186212:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18626a
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -14,19 +14,19 @@ CeladonCafe_MapScriptHeader:
|
||||
|
||||
SuperNerdScript_0x73049:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x730de
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
FisherScript_0x73051:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x73129
|
||||
waitbutton
|
||||
closetext
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7313a
|
||||
waitbutton
|
||||
closetext
|
||||
@ -34,12 +34,12 @@ FisherScript_0x73051:
|
||||
end
|
||||
|
||||
FisherScript_0x73062:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7316a
|
||||
waitbutton
|
||||
closetext
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x73178
|
||||
waitbutton
|
||||
closetext
|
||||
@ -47,12 +47,12 @@ FisherScript_0x73062:
|
||||
end
|
||||
|
||||
FisherScript_0x73073:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x731ae
|
||||
waitbutton
|
||||
closetext
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x731bd
|
||||
waitbutton
|
||||
closetext
|
||||
@ -62,12 +62,12 @@ FisherScript_0x73073:
|
||||
TeacherScript_0x73084:
|
||||
checkitem COIN_CASE
|
||||
iftrue UnknownScript_0x7309a
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x73201
|
||||
waitbutton
|
||||
closetext
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x73212
|
||||
waitbutton
|
||||
closetext
|
||||
@ -75,12 +75,12 @@ TeacherScript_0x73084:
|
||||
end
|
||||
|
||||
UnknownScript_0x7309a:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x73254
|
||||
waitbutton
|
||||
closetext
|
||||
spriteface CELADONCAFE_TEACHER, RIGHT
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x73278
|
||||
waitbutton
|
||||
closetext
|
||||
@ -95,7 +95,7 @@ CeladonCafeTrashcan:
|
||||
iftrue .TrashEmpty
|
||||
giveitem LEFTOVERS
|
||||
iffalse .PackFull
|
||||
loadfont
|
||||
opentext
|
||||
itemtotext LEFTOVERS, $0
|
||||
writetext FoundLeftoversText
|
||||
playsound SFX_ITEM
|
||||
@ -106,7 +106,7 @@ CeladonCafeTrashcan:
|
||||
end
|
||||
|
||||
.PackFull
|
||||
loadfont
|
||||
opentext
|
||||
itemtotext LEFTOVERS, $0
|
||||
writetext FoundLeftoversText
|
||||
buttonsound
|
||||
|
@ -27,7 +27,7 @@ FisherScript_0x1a9f43:
|
||||
jumptextfaceplayer UnknownText_0x1a9f7d
|
||||
|
||||
CeladonCityPoliwrath:
|
||||
loadfont
|
||||
opentext
|
||||
writetext CeladonCityPoliwrathText
|
||||
cry POLIWRATH
|
||||
waitbutton
|
||||
|
@ -13,14 +13,14 @@ CeladonDeptStore2F_MapScriptHeader:
|
||||
|
||||
ClerkScript_0x70bad:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_2F_1
|
||||
closetext
|
||||
end
|
||||
|
||||
ClerkScript_0x70bb5:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_2F_2
|
||||
closetext
|
||||
end
|
||||
|
@ -14,7 +14,7 @@ CeladonDeptStore3F_MapScriptHeader:
|
||||
|
||||
ClerkScript_0x70d29:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_3F
|
||||
closetext
|
||||
end
|
||||
@ -24,7 +24,7 @@ YoungsterScript_0x70d31:
|
||||
|
||||
GameboyKidScript_0x70d34:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x70d86
|
||||
waitbutton
|
||||
closetext
|
||||
@ -33,7 +33,7 @@ GameboyKidScript_0x70d34:
|
||||
|
||||
GameboyKidScript_0x70d3f:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x70dc7
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -12,7 +12,7 @@ CeladonDeptStore4F_MapScriptHeader:
|
||||
|
||||
ClerkScript_0x70f0d:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_4F
|
||||
closetext
|
||||
end
|
||||
|
@ -14,14 +14,14 @@ CeladonDeptStore5F_MapScriptHeader:
|
||||
|
||||
ClerkScript_0x71004:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_5F_1
|
||||
closetext
|
||||
end
|
||||
|
||||
ClerkScript_0x7100c:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_5F_2
|
||||
closetext
|
||||
end
|
||||
|
@ -24,7 +24,7 @@ YoungsterScript_0x7117d:
|
||||
jumptextfaceplayer UnknownText_0x71310
|
||||
|
||||
CeladonVendingMachine:
|
||||
loadfont
|
||||
opentext
|
||||
writetext CeladonVendingText
|
||||
.Start
|
||||
special PlaceMoneyTopRightOW
|
||||
|
@ -8,7 +8,7 @@ CeladonDeptStoreElevator_MapScriptHeader:
|
||||
db 0
|
||||
|
||||
MapCeladonDeptStoreElevatorSignpost0Script:
|
||||
loadfont
|
||||
opentext
|
||||
elevator Elevator_0x713be
|
||||
closetext
|
||||
iffalse UnknownScript_0x713bd
|
||||
|
@ -24,7 +24,7 @@ ReceptionistScript_0x72120:
|
||||
|
||||
PokefanMScript_0x72123:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x72215
|
||||
waitbutton
|
||||
closetext
|
||||
@ -33,7 +33,7 @@ PokefanMScript_0x72123:
|
||||
|
||||
TeacherScript_0x7212e:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x72242
|
||||
waitbutton
|
||||
closetext
|
||||
@ -42,7 +42,7 @@ TeacherScript_0x7212e:
|
||||
|
||||
FishingGuruScript_0x72139:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x72295
|
||||
waitbutton
|
||||
closetext
|
||||
@ -51,7 +51,7 @@ FishingGuruScript_0x72139:
|
||||
|
||||
FisherScript_0x72144:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
|
||||
iftrue .UnknownScript_0x72169
|
||||
writetext UnknownText_0x722dc
|
||||
@ -97,7 +97,7 @@ CeladonGymGuyScript:
|
||||
|
||||
GrampsScript_0x72190:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x724ad
|
||||
waitbutton
|
||||
closetext
|
||||
@ -136,7 +136,7 @@ MapCeladonGameCornerSignpost32Script:
|
||||
jumptext UnknownText_0x7254f
|
||||
|
||||
MapCeladonGameCornerSignpost9Script:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x72567
|
||||
waitbutton
|
||||
special Special_CardFlip
|
||||
|
@ -17,7 +17,7 @@ PharmacistScript_0x726ec:
|
||||
|
||||
MapCeladonGameCornerPrizeRoomSignpost0Script:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7293e
|
||||
waitbutton
|
||||
checkitem COIN_CASE
|
||||
@ -121,7 +121,7 @@ MenuData2_0x72798:
|
||||
|
||||
MapCeladonGameCornerPrizeRoomSignpost1Script:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7293e
|
||||
waitbutton
|
||||
checkitem COIN_CASE
|
||||
|
@ -15,7 +15,7 @@ CeladonGym_MapScriptHeader:
|
||||
|
||||
ErikaScript_0x72a6a:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkflag ENGINE_RAINBOWBADGE
|
||||
iftrue .FightDone
|
||||
writetext UnknownText_0x72b28
|
||||
@ -30,7 +30,7 @@ ErikaScript_0x72a6a:
|
||||
setevent EVENT_BEAT_PICNICKER_TANYA
|
||||
setevent EVENT_BEAT_BEAUTY_JULIA
|
||||
setevent EVENT_BEAT_TWINS_JO_AND_ZOE
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x72c96
|
||||
playsound SFX_GET_BADGE
|
||||
waitsfx
|
||||
@ -54,7 +54,7 @@ TrainerLassMichelle:
|
||||
|
||||
LassMichelleScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x72e30
|
||||
waitbutton
|
||||
closetext
|
||||
@ -65,7 +65,7 @@ TrainerPicnickerTanya:
|
||||
|
||||
PicnickerTanyaScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x72e8e
|
||||
waitbutton
|
||||
closetext
|
||||
@ -76,7 +76,7 @@ TrainerBeautyJulia:
|
||||
|
||||
BeautyJuliaScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x72f01
|
||||
waitbutton
|
||||
closetext
|
||||
@ -87,7 +87,7 @@ TrainerTwinsJoandzoe1:
|
||||
|
||||
TwinsJoandzoe1Script:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x72f70
|
||||
waitbutton
|
||||
closetext
|
||||
@ -98,7 +98,7 @@ TrainerTwinsJoandzoe2:
|
||||
|
||||
TwinsJoandzoe2Script:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x72fc0
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -15,7 +15,7 @@ CeladonMansionManager:
|
||||
jumptextfaceplayer CeladonMansionManagerText
|
||||
|
||||
CeladonMansion1FMeowth:
|
||||
loadfont
|
||||
opentext
|
||||
writetext CeladonMansion1FMeowthText
|
||||
cry MEOWTH
|
||||
waitbutton
|
||||
@ -23,7 +23,7 @@ CeladonMansion1FMeowth:
|
||||
end
|
||||
|
||||
CeladonMansion1FClefairy:
|
||||
loadfont
|
||||
opentext
|
||||
writetext CeladonMansion1FClefairyText
|
||||
cry CLEFAIRY
|
||||
waitbutton
|
||||
@ -31,7 +31,7 @@ CeladonMansion1FClefairy:
|
||||
end
|
||||
|
||||
CeladonMansion1FNidoranF:
|
||||
loadfont
|
||||
opentext
|
||||
writetext CeladonMansion1FNidoranFText
|
||||
cry NIDORAN_F
|
||||
waitbutton
|
||||
|
@ -13,7 +13,7 @@ CeladonMansion3F_MapScriptHeader:
|
||||
|
||||
CooltrainerMScript_0x71670:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x716ce
|
||||
checkcode VAR_DEXCAUGHT
|
||||
if_greater_than 248, UnknownScript_0x7167e
|
||||
@ -37,7 +37,7 @@ UnknownScript_0x7167e:
|
||||
|
||||
GymGuyScript_0x71696:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_ENABLE_DIPLOMA_PRINTING
|
||||
iftrue UnknownScript_0x716a4
|
||||
writetext UnknownText_0x717b4
|
||||
|
@ -10,7 +10,7 @@ CeladonMansionRoofHouse_MapScriptHeader:
|
||||
|
||||
PharmacistScript_0x71afd:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_TM03_CURSE
|
||||
iftrue UnknownScript_0x71b21
|
||||
writetext UnknownText_0x71b27
|
||||
|
@ -26,7 +26,7 @@ PharmacistScript_0x71e2b:
|
||||
|
||||
SuperNerdScript_0x71e2e:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x71f22
|
||||
buttonsound
|
||||
writebyte SUICUNE
|
||||
|
@ -22,7 +22,7 @@ CeruleanCity_MapScriptHeader:
|
||||
|
||||
CooltrainerMScript_0x184009:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_RETURNED_MACHINE_PART
|
||||
iftrue UnknownScript_0x184017
|
||||
writetext UnknownText_0x1840bc
|
||||
@ -40,7 +40,7 @@ SuperNerdScript_0x18401d:
|
||||
jumptextfaceplayer UnknownText_0x1841a8
|
||||
|
||||
CeruleanCitySlowbro:
|
||||
loadfont
|
||||
opentext
|
||||
writetext CeruleanCitySlowbroText
|
||||
cry SLOWBRO
|
||||
waitbutton
|
||||
@ -49,21 +49,21 @@ CeruleanCitySlowbro:
|
||||
|
||||
CooltrainerFScript_0x18402a:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1841fa
|
||||
waitbutton
|
||||
closetext
|
||||
spriteface CERULEANCITY_COOLTRAINER_F, LEFT
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x184229
|
||||
waitbutton
|
||||
closetext
|
||||
loadfont
|
||||
opentext
|
||||
writetext CeruleanCitySlowbroText
|
||||
cry SLOWBRO
|
||||
waitbutton
|
||||
closetext
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18424b
|
||||
waitbutton
|
||||
closetext
|
||||
@ -71,7 +71,7 @@ CooltrainerFScript_0x18402a:
|
||||
|
||||
FisherScript_0x18404a:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_RETURNED_MACHINE_PART
|
||||
iftrue UnknownScript_0x184058
|
||||
checkevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
|
||||
@ -90,7 +90,7 @@ UnknownScript_0x18405e:
|
||||
|
||||
YoungsterScript_0x184064:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1842a9
|
||||
waitbutton
|
||||
closetext
|
||||
@ -118,7 +118,7 @@ UnknownScript_0x184072:
|
||||
waitsfx
|
||||
showemote EMOTE_SHOCK, CERULEANCITY_YOUNGSTER, 15
|
||||
spriteface CERULEANCITY_YOUNGSTER, LEFT
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1842ee
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -29,18 +29,18 @@ UnknownScript_0x1883de:
|
||||
playsound SFX_TACKLE
|
||||
applymovement CERULEANGYM_ROCKET, MovementData_0x1884eb
|
||||
playmusic MUSIC_ROCKET_ENCOUNTER
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1884fb
|
||||
waitbutton
|
||||
closetext
|
||||
showemote EMOTE_SHOCK, CERULEANGYM_ROCKET, 15
|
||||
applymovement CERULEANGYM_ROCKET, MovementData_0x1884f7
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x188574
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement CERULEANGYM_ROCKET, MovementData_0x1884f5
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1885a5
|
||||
waitbutton
|
||||
closetext
|
||||
@ -62,7 +62,7 @@ UnknownScript_0x1883de:
|
||||
|
||||
MistyScript_0x188432:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkflag ENGINE_CASCADEBADGE
|
||||
iftrue .FightDone
|
||||
writetext UnknownText_0x188674
|
||||
@ -76,7 +76,7 @@ MistyScript_0x188432:
|
||||
setevent EVENT_BEAT_SWIMMERF_DIANA
|
||||
setevent EVENT_BEAT_SWIMMERF_BRIANA
|
||||
setevent EVENT_BEAT_SWIMMERM_PARKER
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x188768
|
||||
playsound SFX_GET_BADGE
|
||||
waitsfx
|
||||
@ -92,7 +92,7 @@ TrainerSwimmerfDiana:
|
||||
|
||||
SwimmerfDianaScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x188856
|
||||
waitbutton
|
||||
closetext
|
||||
@ -103,7 +103,7 @@ TrainerSwimmerfBriana:
|
||||
|
||||
SwimmerfBrianaScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1888c0
|
||||
waitbutton
|
||||
closetext
|
||||
@ -114,7 +114,7 @@ TrainerSwimmermParker:
|
||||
|
||||
SwimmermParkerScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x188943
|
||||
waitbutton
|
||||
closetext
|
||||
@ -122,7 +122,7 @@ SwimmermParkerScript:
|
||||
|
||||
CeruleanGymGuyScript:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_MISTY
|
||||
iftrue .CeruleanGymGuyWinScript
|
||||
writetext CeruleanGymGuyText
|
||||
@ -143,7 +143,7 @@ MapCeruleanGymSignpostItem0:
|
||||
CeruleanGymStatue1:
|
||||
checkevent EVENT_TRAINERS_IN_CERULEAN_GYM
|
||||
iffalse CeruleanGymStatue
|
||||
loadfont
|
||||
opentext
|
||||
writetext CeruleanGymNote1
|
||||
waitbutton
|
||||
closetext
|
||||
@ -152,7 +152,7 @@ CeruleanGymStatue1:
|
||||
CeruleanGymStatue2:
|
||||
checkevent EVENT_TRAINERS_IN_CERULEAN_GYM
|
||||
iffalse CeruleanGymStatue
|
||||
loadfont
|
||||
opentext
|
||||
writetext CeruleanGymNote2
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -11,7 +11,7 @@ CeruleanMart_MapScriptHeader:
|
||||
db 0
|
||||
|
||||
ClerkScript_0x188ac0:
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_CERULEAN
|
||||
closetext
|
||||
end
|
||||
|
@ -17,7 +17,7 @@ PokefanFScript_0x18804d:
|
||||
jumptextfaceplayer UnknownText_0x1880c3
|
||||
|
||||
DiglettScript_0x188050:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1880e7
|
||||
cry DIGLETT
|
||||
waitbutton
|
||||
|
@ -18,7 +18,7 @@ GrampsScript_0x188136:
|
||||
jumptextfaceplayer UnknownText_0x18818a
|
||||
|
||||
RhydonScript_0x188139:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18819c
|
||||
cry KANGASKHAN
|
||||
waitbutton
|
||||
@ -26,7 +26,7 @@ RhydonScript_0x188139:
|
||||
end
|
||||
|
||||
ZubatScript_0x188143:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1881b5
|
||||
cry ZUBAT
|
||||
waitbutton
|
||||
|
@ -12,7 +12,7 @@ CharcoalKiln_MapScriptHeader:
|
||||
|
||||
CharcoalKilnBoss:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_HM01_CUT
|
||||
iftrue .GotCut
|
||||
checkevent EVENT_CLEARED_SLOWPOKE_WELL
|
||||
@ -36,7 +36,7 @@ CharcoalKilnBoss:
|
||||
|
||||
CharcoalKilnApprentice:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
|
||||
iftrue .YoureTheCoolest
|
||||
checkevent EVENT_GOT_HM01_CUT
|
||||
@ -64,7 +64,7 @@ CharcoalKilnApprentice:
|
||||
|
||||
CharcoalKilnFarfetchd:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext FarfetchdText
|
||||
cry FARFETCH_D
|
||||
waitbutton
|
||||
|
@ -31,7 +31,7 @@ CherrygroveCity_MapScriptHeader:
|
||||
|
||||
CherrygroveCityGuideGent:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext GuideGentIntroText
|
||||
yesorno
|
||||
iffalse .No
|
||||
@ -43,25 +43,25 @@ CherrygroveCityGuideGent:
|
||||
playmusic MUSIC_SHOW_ME_AROUND
|
||||
follow CHERRYGROVECITY_GRAMPS, PLAYER
|
||||
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c195
|
||||
loadfont
|
||||
opentext
|
||||
writetext GuideGentPokeCenterText
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c19b
|
||||
spriteface PLAYER, UP
|
||||
loadfont
|
||||
opentext
|
||||
writetext GuideGentMartText
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c1a3
|
||||
spriteface PLAYER, UP
|
||||
loadfont
|
||||
opentext
|
||||
writetext GuideGentRoute30Text
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement CHERRYGROVECITY_GRAMPS, MovementData_0x19c1ac
|
||||
spriteface PLAYER, LEFT
|
||||
loadfont
|
||||
opentext
|
||||
writetext GuideGentSeaText
|
||||
waitbutton
|
||||
closetext
|
||||
@ -70,7 +70,7 @@ CherrygroveCityGuideGent:
|
||||
pause 60
|
||||
spriteface CHERRYGROVECITY_GRAMPS, LEFT
|
||||
spriteface PLAYER, RIGHT
|
||||
loadfont
|
||||
opentext
|
||||
writetext GuideGentGiftText
|
||||
buttonsound
|
||||
stringtotext .mapcardname, $1
|
||||
@ -116,7 +116,7 @@ UnknownScript_0x19c0ae:
|
||||
applymovement CHERRYGROVECITY_SILVER, MovementData_0x19c1ce
|
||||
spriteface PLAYER, RIGHT
|
||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x19c4e2
|
||||
waitbutton
|
||||
closetext
|
||||
@ -158,7 +158,7 @@ UnknownScript_0x19c104:
|
||||
|
||||
UnknownScript_0x19c11a:
|
||||
playmusic MUSIC_RIVAL_AFTER
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x19c608
|
||||
waitbutton
|
||||
closetext
|
||||
@ -166,7 +166,7 @@ UnknownScript_0x19c11a:
|
||||
|
||||
UnknownScript_0x19c126:
|
||||
playmusic MUSIC_RIVAL_AFTER
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x19c59e
|
||||
waitbutton
|
||||
closetext
|
||||
@ -183,7 +183,7 @@ UnknownScript_0x19c12f:
|
||||
|
||||
TeacherScript_0x19c146:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkflag ENGINE_MAP_CARD
|
||||
iftrue UnknownScript_0x19c154
|
||||
writetext UnknownText_0x19c650
|
||||
@ -199,7 +199,7 @@ UnknownScript_0x19c154:
|
||||
|
||||
YoungsterScript_0x19c15a:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkflag ENGINE_POKEDEX
|
||||
iftrue UnknownScript_0x19c168
|
||||
writetext UnknownText_0x19c6d6
|
||||
@ -215,7 +215,7 @@ UnknownScript_0x19c168:
|
||||
|
||||
MysticWaterGuy:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_MYSTIC_WATER_IN_CHERRYGROVE
|
||||
iftrue UnknownScript_0x19c183
|
||||
writetext UnknownText_0x19c766
|
||||
|
@ -10,14 +10,14 @@ CherrygroveEvolutionSpeechHouse_MapScriptHeader:
|
||||
db 0
|
||||
|
||||
YoungsterScript_0x196cb2:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x196cc3
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
LassScript_0x196cb9:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x196cfc
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -11,7 +11,7 @@ CherrygroveMart_MapScriptHeader:
|
||||
db 0
|
||||
|
||||
ClerkScript_0x19680a:
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||
iftrue UnknownScript_0x196817
|
||||
pokemart MARTTYPE_STANDARD, MART_CHERRYGROVE
|
||||
@ -25,7 +25,7 @@ UnknownScript_0x196817:
|
||||
|
||||
CooltrainerMScript_0x19681d:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||
iftrue UnknownScript_0x19682b
|
||||
writetext UnknownText_0x196834
|
||||
|
@ -22,7 +22,7 @@ GentlemanScript_0x196973:
|
||||
|
||||
TeacherScript_0x196976:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||
iftrue UnknownScript_0x196984
|
||||
writetext UnknownText_0x1969f1
|
||||
|
@ -62,7 +62,7 @@ UnknownScript_0x1a001e:
|
||||
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
|
||||
appear CIANWOODCITY_EUSINE
|
||||
applymovement CIANWOODCITY_EUSINE, MovementData_0x1a00e7
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1a0433
|
||||
waitbutton
|
||||
closetext
|
||||
@ -73,7 +73,7 @@ UnknownScript_0x1a001e:
|
||||
reloadmapmusic
|
||||
returnafterbattle
|
||||
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x1a05c3
|
||||
waitbutton
|
||||
closetext
|
||||
@ -88,7 +88,7 @@ UnknownScript_0x1a001e:
|
||||
|
||||
PokefanFScript_0x1a0084:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_HM02_FLY
|
||||
iftrue UnknownScript_0x1a00ad
|
||||
writetext UnknownText_0x1a00f1
|
||||
|
@ -10,7 +10,7 @@ CianwoodCityPhotoStudio_MapScriptHeader:
|
||||
|
||||
FishingGuruScript_0x9e0e0:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9e0f9
|
||||
yesorno
|
||||
iffalse UnknownScript_0x9e0f3
|
||||
|
@ -18,14 +18,14 @@ CianwoodGym_MapScriptHeader:
|
||||
|
||||
ChuckScript_0x9d60f:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_CHUCK
|
||||
iftrue .FightDone
|
||||
writetext UnknownText_0x9d6f9
|
||||
waitbutton
|
||||
closetext
|
||||
spriteface CIANWOODGYM_CHUCK, RIGHT
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9d76f
|
||||
waitbutton
|
||||
closetext
|
||||
@ -35,7 +35,7 @@ ChuckScript_0x9d60f:
|
||||
disappear CIANWOODGYM_BOULDER1
|
||||
pause 30
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9d78a
|
||||
waitbutton
|
||||
closetext
|
||||
@ -44,7 +44,7 @@ ChuckScript_0x9d60f:
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_CHUCK
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9d835
|
||||
playsound SFX_GET_BADGE
|
||||
waitsfx
|
||||
@ -91,7 +91,7 @@ TrainerBlackbeltYoshi:
|
||||
|
||||
BlackbeltYoshiScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9d9fa
|
||||
waitbutton
|
||||
closetext
|
||||
@ -102,7 +102,7 @@ TrainerBlackbeltLao:
|
||||
|
||||
BlackbeltLaoScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9da61
|
||||
waitbutton
|
||||
closetext
|
||||
@ -113,7 +113,7 @@ TrainerBlackbeltNob:
|
||||
|
||||
BlackbeltNobScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9dac0
|
||||
waitbutton
|
||||
closetext
|
||||
@ -124,7 +124,7 @@ TrainerBlackbeltLung:
|
||||
|
||||
BlackbeltLungScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9db14
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -16,7 +16,7 @@ CianwoodPharmacyTrigger:
|
||||
|
||||
CianwoodPharmacist:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY
|
||||
iftrue .Mart
|
||||
checkevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
|
||||
|
@ -21,14 +21,14 @@ CianwoodGymGuyScript:
|
||||
faceplayer
|
||||
checkevent EVENT_BEAT_CHUCK
|
||||
iftrue .CianwoodGymGuyWinScript
|
||||
loadfont
|
||||
opentext
|
||||
writetext CianwoodGymGuyText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
.CianwoodGymGuyWinScript
|
||||
loadfont
|
||||
opentext
|
||||
writetext CianwoodGymGuyWinText
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -17,7 +17,7 @@ CinnabarIsland_MapScriptHeader:
|
||||
|
||||
CinnabarIslandBlue:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext CinnabarIslandBlueText
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -57,7 +57,7 @@ MapColosseumSignpost1Script:
|
||||
end
|
||||
|
||||
ChrisScript_0x193499:
|
||||
loadfont
|
||||
opentext
|
||||
writetext .FriendReadyText
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -15,7 +15,7 @@ PokefanMScript_0x18ad13:
|
||||
|
||||
PokefanFScript_0x18ad16:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_RETURNED_MACHINE_PART
|
||||
iftrue UnknownScript_0x18ad24
|
||||
writetext UnknownText_0x18ad95
|
||||
@ -30,7 +30,7 @@ UnknownScript_0x18ad24:
|
||||
end
|
||||
|
||||
ClefairyScript_0x18ad2a:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18ae4b
|
||||
cry BLISSEY
|
||||
waitbutton
|
||||
|
@ -52,7 +52,7 @@ Copycat:
|
||||
special RunCallback_04
|
||||
checkevent EVENT_RETURNED_MACHINE_PART
|
||||
iftrue .Part7
|
||||
loadfont
|
||||
opentext
|
||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||
iftrue .Part3
|
||||
writetext UnknownText_0x18afda
|
||||
@ -74,14 +74,14 @@ Copycat:
|
||||
faceplayer
|
||||
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
||||
special RunCallback_04
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18b028
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
.Part7
|
||||
loadfont
|
||||
opentext
|
||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||
iftrue .Part8
|
||||
writetext UnknownText_0x18b064
|
||||
@ -103,7 +103,7 @@ Copycat:
|
||||
faceplayer
|
||||
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
||||
special RunCallback_04
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18b116
|
||||
waitbutton
|
||||
closetext
|
||||
@ -111,7 +111,7 @@ Copycat:
|
||||
end
|
||||
|
||||
.Part12
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18b17f
|
||||
buttonsound
|
||||
takeitem LOST_ITEM
|
||||
@ -120,7 +120,7 @@ Copycat:
|
||||
jump .Part14
|
||||
|
||||
.Part13
|
||||
loadfont
|
||||
opentext
|
||||
.Part14
|
||||
writetext UnknownText_0x18b1e2
|
||||
buttonsound
|
||||
@ -146,7 +146,7 @@ Copycat:
|
||||
variablesprite SPRITE_COPYCAT, SPRITE_KRIS
|
||||
.Part17
|
||||
special RunCallback_04
|
||||
loadfont
|
||||
opentext
|
||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||
iftrue .Part18
|
||||
writetext UnknownText_0x18b298
|
||||
@ -168,7 +168,7 @@ Copycat:
|
||||
faceplayer
|
||||
variablesprite SPRITE_COPYCAT, SPRITE_LASS
|
||||
special RunCallback_04
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18b2f5
|
||||
waitbutton
|
||||
.Part22
|
||||
@ -176,7 +176,7 @@ Copycat:
|
||||
end
|
||||
|
||||
CopycatsDodrio:
|
||||
loadfont
|
||||
opentext
|
||||
writetext CopycatsDodrioText1
|
||||
cry DODRIO
|
||||
buttonsound
|
||||
|
@ -21,7 +21,7 @@ TrainerKimono_girlNaoko2:
|
||||
|
||||
Kimono_girlNaoko2Script:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x99579
|
||||
waitbutton
|
||||
closetext
|
||||
@ -32,7 +32,7 @@ TrainerKimono_girlSayo:
|
||||
|
||||
Kimono_girlSayoScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9960b
|
||||
waitbutton
|
||||
closetext
|
||||
@ -43,7 +43,7 @@ TrainerKimono_girlZuki:
|
||||
|
||||
Kimono_girlZukiScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x99688
|
||||
waitbutton
|
||||
closetext
|
||||
@ -54,7 +54,7 @@ TrainerKimono_girlKuni:
|
||||
|
||||
Kimono_girlKuniScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x99714
|
||||
waitbutton
|
||||
closetext
|
||||
@ -65,7 +65,7 @@ TrainerKimono_girlMiki:
|
||||
|
||||
Kimono_girlMikiScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x997a8
|
||||
waitbutton
|
||||
closetext
|
||||
@ -73,7 +73,7 @@ Kimono_girlMikiScript:
|
||||
|
||||
GentlemanScript_0x994c6:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9980a
|
||||
buttonsound
|
||||
checkevent EVENT_GOT_HM03_SURF
|
||||
@ -121,7 +121,7 @@ UnknownScript_0x99515:
|
||||
end
|
||||
|
||||
RhydonScript_0x9951b:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x99a0a
|
||||
cry RHYDON
|
||||
waitbutton
|
||||
|
@ -12,7 +12,7 @@ DarkCaveBlackthornEntrance_MapScriptHeader:
|
||||
|
||||
PharmacistScript_0x18c720:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
|
||||
iftrue UnknownScript_0x18c735
|
||||
writetext UnknownText_0x18c73f
|
||||
|
@ -27,7 +27,7 @@ UnknownScript_0x62f88:
|
||||
|
||||
GrampsScript_0x62f8f:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_ODD_EGG
|
||||
iftrue UnknownScript_0x62fbd
|
||||
writetext UnknownText_0x630ce
|
||||
@ -36,7 +36,7 @@ GrampsScript_0x62f8f:
|
||||
checkcode VAR_PARTYCOUNT
|
||||
if_equal $6, UnknownScript_0x62fb6
|
||||
special Function117656
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x631ae
|
||||
playsound SFX_KEY_ITEM
|
||||
waitsfx
|
||||
@ -47,7 +47,7 @@ GrampsScript_0x62f8f:
|
||||
end
|
||||
|
||||
UnknownScript_0x62fb6:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x63237
|
||||
waitbutton
|
||||
closetext
|
||||
@ -61,7 +61,7 @@ UnknownScript_0x62fbd:
|
||||
|
||||
GrannyScript_0x62fc3:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
|
||||
iftrue UnknownScript_0x62fd1
|
||||
special Special_DayCareLady
|
||||
|
@ -25,7 +25,7 @@ DragonShrine_MapScriptHeader:
|
||||
DragonShrineTestScript:
|
||||
applymovement PLAYER, MovementData_0x18d2bf
|
||||
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2c7
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d2ea
|
||||
buttonsound
|
||||
.Question1:
|
||||
@ -96,17 +96,17 @@ DragonShrineTestScript:
|
||||
.WrongAnswer:
|
||||
closetext
|
||||
spriteface DRAGONSHRINE_ELDER1, LEFT
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d7f6
|
||||
waitbutton
|
||||
closetext
|
||||
spriteface DRAGONSHRINE_ELDER1, DOWN
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d816
|
||||
waitbutton
|
||||
closetext
|
||||
setevent EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_DRAGON_SHRINE_QUESTION_5
|
||||
iftrue .Question5
|
||||
checkevent EVENT_DRAGON_SHRINE_QUESTION_4
|
||||
@ -132,34 +132,34 @@ DragonShrineTestScript:
|
||||
spriteface DRAGONSHRINE_CLAIR, RIGHT
|
||||
spriteface PLAYER, LEFT
|
||||
spriteface DRAGONSHRINE_ELDER1, LEFT
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d916
|
||||
waitbutton
|
||||
closetext
|
||||
special Special_FadeOutMusic
|
||||
applymovement DRAGONSHRINE_CLAIR, MovementData_0x18d2da
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d974
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement DRAGONSHRINE_CLAIR, MovementData_0x18d2dd
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d983
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2c9
|
||||
spriteface DRAGONSHRINE_CLAIR, UP
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d520
|
||||
waitbutton
|
||||
closetext
|
||||
showemote EMOTE_SHOCK, DRAGONSHRINE_CLAIR, 15
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d9ae
|
||||
waitbutton
|
||||
closetext
|
||||
applymovement DRAGONSHRINE_CLAIR, MovementData_0x18d2e0
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d9bf
|
||||
waitbutton
|
||||
setflag ENGINE_RISINGBADGE
|
||||
@ -178,11 +178,11 @@ DragonShrineTestScript:
|
||||
spriteface DRAGONSHRINE_CLAIR, UP
|
||||
applymovement DRAGONSHRINE_ELDER1, MovementData_0x18d2d1
|
||||
spriteface PLAYER, UP
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d5a3
|
||||
waitbutton
|
||||
closetext
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18dab4
|
||||
waitbutton
|
||||
closetext
|
||||
@ -195,7 +195,7 @@ DragonShrineTestScript:
|
||||
|
||||
ElderScript_0x18d1a5:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GAVE_KURT_APRICORNS
|
||||
iftrue .DontGiveDratiniYet
|
||||
checkevent EVENT_JUST_RECEIVED_DRATINI
|
||||
@ -253,7 +253,7 @@ ElderScript_0x18d1a5:
|
||||
|
||||
ElderScript_0x18d205:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d840
|
||||
waitbutton
|
||||
closetext
|
||||
@ -261,7 +261,7 @@ ElderScript_0x18d205:
|
||||
|
||||
ElderScript_0x18d20d:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x18d8b1
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -14,73 +14,73 @@ DragonsDenB1F_MapScriptHeader:
|
||||
db 2
|
||||
|
||||
; triggers
|
||||
dw UnknownScript_0x18c89d, 0
|
||||
dw UnknownScript_0x18c89e, 0
|
||||
dw .Trigger1, 0
|
||||
dw .Trigger2, 0
|
||||
|
||||
.MapCallbacks:
|
||||
db 1
|
||||
|
||||
; callbacks
|
||||
|
||||
dbw 5, UnknownScript_0x18c89f
|
||||
dbw 5, .CheckSilver
|
||||
|
||||
UnknownScript_0x18c89d:
|
||||
.Trigger1:
|
||||
end
|
||||
|
||||
UnknownScript_0x18c89e:
|
||||
.Trigger2:
|
||||
end
|
||||
|
||||
UnknownScript_0x18c89f:
|
||||
.CheckSilver:
|
||||
checkevent EVENT_BEAT_RIVAL_IN_MT_MOON
|
||||
iftrue UnknownScript_0x18c8a8
|
||||
iftrue .CheckDay
|
||||
disappear DRAGONSDENB1F_SILVER
|
||||
return
|
||||
|
||||
UnknownScript_0x18c8a8:
|
||||
.CheckDay:
|
||||
checkcode VAR_WEEKDAY
|
||||
if_equal TUESDAY, UnknownScript_0x18c8b5
|
||||
if_equal THURSDAY, UnknownScript_0x18c8b5
|
||||
if_equal TUESDAY, .AppearSilver
|
||||
if_equal THURSDAY, .AppearSilver
|
||||
disappear DRAGONSDENB1F_SILVER
|
||||
return
|
||||
|
||||
UnknownScript_0x18c8b5:
|
||||
.AppearSilver:
|
||||
appear DRAGONSDENB1F_SILVER
|
||||
return
|
||||
|
||||
UnknownScript_0x18c8b8:
|
||||
DragonsDenB1F_ClairTrigger:
|
||||
appear DRAGONSDENB1F_CLAIR
|
||||
loadfont
|
||||
writetext UnknownText_0x18c9b8
|
||||
opentext
|
||||
writetext ClairText_Wait
|
||||
pause 30
|
||||
closetext
|
||||
showemote EMOTE_SHOCK, PLAYER, 15
|
||||
spriteface PLAYER, LEFT
|
||||
playmusic MUSIC_CLAIR
|
||||
applymovement DRAGONSDENB1F_CLAIR, MovementData_0x18c9ae
|
||||
loadfont
|
||||
writetext UnknownText_0x18c9bf
|
||||
applymovement DRAGONSDENB1F_CLAIR, MovementDragonsDen_ClairWalksToYou
|
||||
opentext
|
||||
writetext ClairText_GiveDragonbreathDragonDen
|
||||
buttonsound
|
||||
giveitem TM_DRAGONBREATH
|
||||
iffalse UnknownScript_0x18c8f4
|
||||
iffalse .BagFull
|
||||
itemtotext TM_DRAGONBREATH, $0
|
||||
writetext UnknownText_0x18c9fb
|
||||
writetext NotifyReceiveDragonbreath
|
||||
playsound SFX_ITEM
|
||||
waitsfx
|
||||
itemnotify
|
||||
setevent EVENT_GOT_TM24_DRAGONBREATH
|
||||
writetext UnknownText_0x18ca0d
|
||||
writetext ClairText_DescribeDragonbreathDragonDen
|
||||
buttonsound
|
||||
writetext UnknownText_0x18caf1
|
||||
writetext ClairText_WhatsTheMatterDragonDen
|
||||
waitbutton
|
||||
closetext
|
||||
jump UnknownScript_0x18c8f9
|
||||
jump .FinishClair
|
||||
|
||||
UnknownScript_0x18c8f4:
|
||||
writetext UnknownText_0x18ca8b
|
||||
.BagFull:
|
||||
writetext ClairText_NoRoom
|
||||
waitbutton
|
||||
closetext
|
||||
UnknownScript_0x18c8f9:
|
||||
applymovement DRAGONSDENB1F_CLAIR, MovementData_0x18c9b3
|
||||
.FinishClair:
|
||||
applymovement DRAGONSDENB1F_CLAIR, MovementDragonsDen_ClairWalksAway
|
||||
special Special_FadeOutMusic
|
||||
pause 30
|
||||
special RestartMapMusic
|
||||
@ -93,8 +93,8 @@ TrainerCooltrainermDarin:
|
||||
|
||||
CooltrainermDarinScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x18cd82
|
||||
opentext
|
||||
writetext CooltrainermDarinAfterText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
@ -104,8 +104,8 @@ TrainerCooltrainerfCara:
|
||||
|
||||
CooltrainerfCaraScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x18ce11
|
||||
opentext
|
||||
writetext CooltrainerfCaraAfterText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
@ -115,8 +115,8 @@ TrainerTwinsLeaandpia1:
|
||||
|
||||
TwinsLeaandpia1Script:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x18ced3
|
||||
opentext
|
||||
writetext TrinsLeaandpia1AfterText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
@ -126,31 +126,34 @@ TrainerTwinsLeaandpia2:
|
||||
|
||||
TwinsLeaandpia2Script:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x18cf0f
|
||||
opentext
|
||||
writetext TrinsLeaandpia2AfterText
|
||||
waitbutton
|
||||
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.
|
||||
giveitem DRAGON_FANG
|
||||
iffalse UnknownScript_0x18c970
|
||||
iffalse .BagFull
|
||||
disappear DRAGONSDENB1F_POKE_BALL1
|
||||
loadfont
|
||||
opentext
|
||||
itemtotext DRAGON_FANG, $0
|
||||
writetext UnknownText_0x18cf41
|
||||
writetext Text_FoundDragonFang
|
||||
playsound SFX_ITEM
|
||||
waitsfx
|
||||
itemnotify
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x18c970:
|
||||
loadfont
|
||||
.BagFull:
|
||||
opentext
|
||||
itemtotext DRAGON_FANG, $0
|
||||
writetext UnknownText_0x18cf41
|
||||
writetext Text_FoundDragonFang
|
||||
buttonsound
|
||||
writetext UnknownText_0x18cf51
|
||||
writetext Text_NoRoomForDragonFang
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
@ -158,25 +161,25 @@ UnknownScript_0x18c970:
|
||||
SilverScript_0x18c97e:
|
||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GAVE_KURT_APRICORNS
|
||||
iftrue UnknownScript_0x18c995
|
||||
writetext UnknownText_0x18cc83
|
||||
iftrue .SilverTalkAgain
|
||||
writetext SilverText_Training1
|
||||
waitbutton
|
||||
closetext
|
||||
setevent EVENT_GAVE_KURT_APRICORNS
|
||||
special RestartMapMusic
|
||||
end
|
||||
|
||||
UnknownScript_0x18c995:
|
||||
writetext UnknownText_0x18cd2d
|
||||
.SilverTalkAgain:
|
||||
writetext SilverText_Training2
|
||||
waitbutton
|
||||
closetext
|
||||
special RestartMapMusic
|
||||
end
|
||||
|
||||
MapDragonsDenB1FSignpost0Script:
|
||||
jumptext UnknownText_0x18cc2e
|
||||
jumptext DragonShrineSignpostText
|
||||
|
||||
ItemFragment_0x18c9a1:
|
||||
itemfragment CALCIUM
|
||||
@ -193,25 +196,25 @@ MapDragonsDenB1FSignpostItem2:
|
||||
MapDragonsDenB1FSignpostItem3:
|
||||
dwb EVENT_DRAGONS_DEN_B1F_HIDDEN_MAX_ELIXER, MAX_ELIXER
|
||||
|
||||
MovementData_0x18c9ae:
|
||||
MovementDragonsDen_ClairWalksToYou:
|
||||
slow_step_right
|
||||
slow_step_right
|
||||
slow_step_right
|
||||
slow_step_right
|
||||
step_end
|
||||
|
||||
MovementData_0x18c9b3:
|
||||
MovementDragonsDen_ClairWalksAway:
|
||||
slow_step_left
|
||||
slow_step_left
|
||||
slow_step_left
|
||||
slow_step_left
|
||||
step_end
|
||||
|
||||
UnknownText_0x18c9b8:
|
||||
ClairText_Wait:
|
||||
text "Wait!"
|
||||
done
|
||||
|
||||
UnknownText_0x18c9bf:
|
||||
ClairText_GiveDragonbreathDragonDen:
|
||||
text "CLAIR: I'm sorry"
|
||||
line "about this."
|
||||
|
||||
@ -219,12 +222,12 @@ UnknownText_0x18c9bf:
|
||||
line "my apology."
|
||||
done
|
||||
|
||||
UnknownText_0x18c9fb:
|
||||
NotifyReceiveDragonbreath:
|
||||
text "<PLAYER> received"
|
||||
line "TM24."
|
||||
done
|
||||
|
||||
UnknownText_0x18ca0d:
|
||||
ClairText_DescribeDragonbreathDragonDen:
|
||||
text "That contains"
|
||||
line "DRAGONBREATH."
|
||||
|
||||
@ -237,7 +240,7 @@ UnknownText_0x18ca0d:
|
||||
cont "to take it."
|
||||
done
|
||||
|
||||
UnknownText_0x18ca8b:
|
||||
ClairText_NoRoom:
|
||||
text "Oh? You don't have"
|
||||
line "any room for this."
|
||||
|
||||
@ -248,7 +251,7 @@ UnknownText_0x18ca8b:
|
||||
line "see me there."
|
||||
done
|
||||
|
||||
UnknownText_0x18caf1:
|
||||
ClairText_WhatsTheMatterDragonDen:
|
||||
text "CLAIR: What's the"
|
||||
line "matter? Aren't you"
|
||||
|
||||
@ -281,7 +284,7 @@ UnknownText_0x18caf1:
|
||||
line "you've got."
|
||||
done
|
||||
|
||||
UnknownText_0x18cc2e:
|
||||
DragonShrineSignpostText:
|
||||
text "DRAGON SHRINE"
|
||||
|
||||
para "A shrine honoring"
|
||||
@ -291,7 +294,7 @@ UnknownText_0x18cc2e:
|
||||
line "in DRAGON'S DEN."
|
||||
done
|
||||
|
||||
UnknownText_0x18cc83:
|
||||
SilverText_Training1:
|
||||
text "…"
|
||||
line "What? <PLAYER>?"
|
||||
|
||||
@ -311,7 +314,7 @@ UnknownText_0x18cc83:
|
||||
line "MON trainer…"
|
||||
done
|
||||
|
||||
UnknownText_0x18cd2d:
|
||||
SilverText_Training2:
|
||||
text "…"
|
||||
|
||||
para "Whew…"
|
||||
@ -329,7 +332,7 @@ CooltrainermDarinBeatenText:
|
||||
text "S-strong!"
|
||||
done
|
||||
|
||||
UnknownText_0x18cd82:
|
||||
CooltrainermDarinAfterText:
|
||||
text "The SHRINE ahead"
|
||||
line "is home to the"
|
||||
|
||||
@ -349,7 +352,7 @@ CooltrainerfCaraBeatenText:
|
||||
text "Oh yikes, I lost!"
|
||||
done
|
||||
|
||||
UnknownText_0x18ce11:
|
||||
CooltrainerfCaraAfterText:
|
||||
text "Soon I'm going to"
|
||||
line "get permission"
|
||||
|
||||
@ -375,7 +378,7 @@ TwinsLeaandpia1BeatenText:
|
||||
text "Ouchies."
|
||||
done
|
||||
|
||||
UnknownText_0x18ced3:
|
||||
TrinsLeaandpia1AfterText:
|
||||
text "It was like having"
|
||||
line "to battle LANCE."
|
||||
done
|
||||
@ -388,21 +391,21 @@ TwinsLeaandpia2BeatenText:
|
||||
text "Meanie."
|
||||
done
|
||||
|
||||
UnknownText_0x18cf0f:
|
||||
TrinsLeaandpia2AfterText:
|
||||
text "We'll tell on you."
|
||||
|
||||
para "MASTER will be"
|
||||
line "angry with you."
|
||||
done
|
||||
|
||||
UnknownText_0x18cf41:
|
||||
Text_FoundDragonFang:
|
||||
text "<PLAYER> found"
|
||||
line "@"
|
||||
text_from_ram StringBuffer3
|
||||
text "!"
|
||||
done
|
||||
|
||||
UnknownText_0x18cf51:
|
||||
Text_NoRoomForDragonFang:
|
||||
text "But <PLAYER> can't"
|
||||
line "carry any more"
|
||||
cont "items."
|
||||
@ -419,7 +422,7 @@ DragonsDenB1F_MapEventHeader:
|
||||
|
||||
.XYTriggers:
|
||||
db 1
|
||||
xy_trigger 1, $1e, $13, $0, UnknownScript_0x18c8b8, $0, $0
|
||||
xy_trigger 1, $1e, $13, $0, DragonsDenB1F_ClairTrigger, $0, $0
|
||||
|
||||
.Signposts:
|
||||
db 4
|
||||
|
@ -16,7 +16,7 @@ EarlsPokemonAcademy_MapScriptHeader:
|
||||
AcademyEarl:
|
||||
applymovement EARLSPOKEMONACADEMY_FISHER, MovementData_0x68b2d
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x68b3b
|
||||
yesorno
|
||||
iffalse .Part1
|
||||
@ -43,7 +43,7 @@ YoungsterScript_0x68a83:
|
||||
|
||||
GameboyKidScript_0x68a86:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x68dda
|
||||
waitbutton
|
||||
closetext
|
||||
@ -52,7 +52,7 @@ GameboyKidScript_0x68a86:
|
||||
|
||||
GameboyKidScript_0x68a91:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x68e07
|
||||
waitbutton
|
||||
closetext
|
||||
@ -63,7 +63,7 @@ YoungsterScript_0x68a9c:
|
||||
jumptextfaceplayer UnknownText_0x68e39
|
||||
|
||||
AcademyBlackboard:
|
||||
loadfont
|
||||
opentext
|
||||
writetext AcademyBlackboardText
|
||||
.Loop
|
||||
loadmenudata .MenuHeader
|
||||
@ -125,7 +125,7 @@ AcademyBlackboard:
|
||||
db "QUIT@"
|
||||
|
||||
AcademyNotebook:
|
||||
loadfont
|
||||
opentext
|
||||
writetext AcademyNotebookText
|
||||
yesorno
|
||||
iffalse .Done
|
||||
|
@ -35,7 +35,7 @@ LassScript_0x1a4012:
|
||||
|
||||
LassScript_0x1a4015:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_RELEASED_THE_BEASTS
|
||||
iftrue UnknownScript_0x1a4023
|
||||
writetext UnknownText_0x1a421a
|
||||
@ -51,7 +51,7 @@ UnknownScript_0x1a4023:
|
||||
|
||||
FisherScript_0x1a4029:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_JASMINE_RETURNED_TO_GYM
|
||||
iftrue UnknownScript_0x1a4037
|
||||
writetext UnknownText_0x1a42ac
|
||||
|
@ -27,7 +27,7 @@ UnknownScript_0x99d57:
|
||||
|
||||
MortyScript_0x99d58:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_MORTY
|
||||
iftrue .FightDone
|
||||
writetext UnknownText_0x99e65
|
||||
@ -38,7 +38,7 @@ MortyScript_0x99d58:
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_MORTY
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9a043
|
||||
playsound SFX_GET_BADGE
|
||||
waitsfx
|
||||
@ -86,7 +86,7 @@ EcruteakGymTriggerRockets:
|
||||
UnknownScript_0x99dc6:
|
||||
applymovement PLAYER, MovementData_0x99e5d
|
||||
applymovement ECRUTEAKGYM_GRAMPS, MovementData_0x99e63
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9a49c
|
||||
waitbutton
|
||||
closetext
|
||||
@ -104,7 +104,7 @@ TrainerSageJeffrey:
|
||||
|
||||
SageJeffreyScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9a263
|
||||
waitbutton
|
||||
closetext
|
||||
@ -115,7 +115,7 @@ TrainerSagePing:
|
||||
|
||||
SagePingScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9a2b7
|
||||
waitbutton
|
||||
closetext
|
||||
@ -126,7 +126,7 @@ TrainerMediumMartha:
|
||||
|
||||
MediumMarthaScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9a318
|
||||
waitbutton
|
||||
closetext
|
||||
@ -137,7 +137,7 @@ TrainerMediumGrace:
|
||||
|
||||
MediumGraceScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9a38a
|
||||
waitbutton
|
||||
closetext
|
||||
@ -145,7 +145,7 @@ MediumGraceScript:
|
||||
|
||||
EcruteakGymGuyScript:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_MORTY
|
||||
iftrue .EcruteakGymGuyWinScript
|
||||
writetext EcruteakGymGuyText
|
||||
|
@ -73,7 +73,7 @@ EcruteakHouse_XYTrigger_DontMove:
|
||||
|
||||
SageScript_0x98062:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||
iftrue .CheckForClearBell
|
||||
checkflag ENGINE_FOGBADGE
|
||||
@ -125,7 +125,7 @@ SageScript_0x98062:
|
||||
|
||||
SageScript_0x980b0:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_CLEAR_BELL
|
||||
iftrue .GotClearBell
|
||||
writetext UnknownText_0x9840b
|
||||
|
@ -11,7 +11,7 @@ EcruteakItemfinderHouse_MapScriptHeader:
|
||||
|
||||
CooltrainerMScript_0x9a5fb:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_ITEMFINDER
|
||||
iftrue UnknownScript_0x9a614
|
||||
writetext UnknownText_0x9a63c
|
||||
@ -34,7 +34,7 @@ UnknownScript_0x9a61a:
|
||||
end
|
||||
|
||||
PokedexScript_0x9a620:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x9a826
|
||||
yesorno
|
||||
iftrue UnknownScript_0x9a62a
|
||||
|
@ -11,7 +11,7 @@ EcruteakMart_MapScriptHeader:
|
||||
db 0
|
||||
|
||||
ClerkScript_0x99c3b:
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_ECRUTEAK
|
||||
closetext
|
||||
end
|
||||
|
@ -40,7 +40,7 @@ UnknownScript_0x98e64:
|
||||
pause 20
|
||||
spriteface ECRUTEAKPOKECENTER1F_BILL, DOWN
|
||||
pause 10
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x98ed8
|
||||
buttonsound
|
||||
jump UnknownScript_0x98e95
|
||||
|
@ -55,7 +55,7 @@ ElmsLab_AutowalkUpToElm:
|
||||
applymovement PLAYER, ElmsLab_WalkUpToElmMovement
|
||||
showemote EMOTE_SHOCK, ELMSLAB_ELM, 15
|
||||
spriteface ELMSLAB_ELM, RIGHT
|
||||
loadfont
|
||||
opentext
|
||||
writetext ElmText_Intro
|
||||
ElmsLab_RefuseLoop:
|
||||
yesorno
|
||||
@ -73,11 +73,11 @@ ElmsLab_ElmGetsEmail:
|
||||
pause 30
|
||||
showemote EMOTE_SHOCK, ELMSLAB_ELM, 10
|
||||
spriteface ELMSLAB_ELM, DOWN
|
||||
loadfont
|
||||
opentext
|
||||
writetext ElmText_GotAnEmail
|
||||
waitbutton
|
||||
closetext
|
||||
loadfont
|
||||
opentext
|
||||
spriteface ELMSLAB_ELM, RIGHT
|
||||
writetext ElmText_MissionFromMrPokemon
|
||||
waitbutton
|
||||
@ -86,7 +86,7 @@ ElmsLab_ElmGetsEmail:
|
||||
spriteface PLAYER, UP
|
||||
applymovement ELMSLAB_ELM, ElmsLab_ElmToDefaultPositionMovement2
|
||||
spriteface PLAYER, RIGHT
|
||||
loadfont
|
||||
opentext
|
||||
writetext ElmText_ChooseAPokemon
|
||||
waitbutton
|
||||
dotrigger $1
|
||||
@ -95,7 +95,7 @@ ElmsLab_ElmGetsEmail:
|
||||
|
||||
ProfElmScript:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_SS_TICKET_FROM_ELM
|
||||
iftrue ElmCheckMasterBall
|
||||
checkevent EVENT_BEAT_ELITE_FOUR
|
||||
@ -155,7 +155,7 @@ ElmCheckGotEggAgain:
|
||||
|
||||
LabTryToLeaveScript:
|
||||
spriteface ELMSLAB_ELM, DOWN
|
||||
loadfont
|
||||
opentext
|
||||
writetext LabWhereGoingText
|
||||
waitbutton
|
||||
closetext
|
||||
@ -171,7 +171,7 @@ CyndaquilPokeBallScript:
|
||||
cry CYNDAQUIL
|
||||
waitbutton
|
||||
closepokepic
|
||||
loadfont
|
||||
opentext
|
||||
writetext TakeCyndaquilText
|
||||
yesorno
|
||||
iffalse DidntChooseStarterScript
|
||||
@ -201,7 +201,7 @@ TotodilePokeBallScript:
|
||||
cry TOTODILE
|
||||
waitbutton
|
||||
closepokepic
|
||||
loadfont
|
||||
opentext
|
||||
writetext TakeTotodileText
|
||||
yesorno
|
||||
iffalse DidntChooseStarterScript
|
||||
@ -229,7 +229,7 @@ ChikoritaPokeBallScript:
|
||||
cry CHIKORITA
|
||||
waitbutton
|
||||
closepokepic
|
||||
loadfont
|
||||
opentext
|
||||
writetext TakeChikoritaText
|
||||
yesorno
|
||||
iffalse DidntChooseStarterScript
|
||||
@ -256,24 +256,24 @@ DidntChooseStarterScript:
|
||||
|
||||
ElmDirectionsScript:
|
||||
spriteface PLAYER, UP
|
||||
loadfont
|
||||
opentext
|
||||
writetext ElmDirectionsText1
|
||||
waitbutton
|
||||
closetext
|
||||
addcellnum PHONE_ELM
|
||||
loadfont
|
||||
opentext
|
||||
writetext GotElmsNumberText
|
||||
playsound SFX_REGISTER_PHONE_NUMBER
|
||||
waitsfx
|
||||
waitbutton
|
||||
closetext
|
||||
spriteface ELMSLAB_ELM, LEFT
|
||||
loadfont
|
||||
opentext
|
||||
writetext ElmDirectionsText2
|
||||
waitbutton
|
||||
closetext
|
||||
spriteface ELMSLAB_ELM, DOWN
|
||||
loadfont
|
||||
opentext
|
||||
writetext ElmDirectionsText3
|
||||
waitbutton
|
||||
closetext
|
||||
@ -290,14 +290,14 @@ ElmDescribesMrPokemonScript:
|
||||
end
|
||||
|
||||
LookAtElmPokeBallScript:
|
||||
loadfont
|
||||
opentext
|
||||
writetext ElmPokeBallText
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
ElmsLabHealingMachine:
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_A_POKEMON_FROM_ELM
|
||||
iftrue .CanHeal
|
||||
writetext ElmsLabHealingMachineText1
|
||||
@ -379,7 +379,7 @@ ShowElmTogepiScript:
|
||||
closetext
|
||||
showemote EMOTE_SHOCK, ELMSLAB_ELM, 15
|
||||
setevent EVENT_SHOWED_TOGEPI_TO_ELM
|
||||
loadfont
|
||||
opentext
|
||||
writetext ShowElmTogepiText2
|
||||
buttonsound
|
||||
writetext ShowElmTogepiText3
|
||||
@ -444,22 +444,22 @@ ElmJumpBackScript2:
|
||||
|
||||
ElmJumpUpScript:
|
||||
applymovement ELMSLAB_ELM, ElmJumpUpMovement
|
||||
loadfont
|
||||
opentext
|
||||
end
|
||||
|
||||
ElmJumpDownScript:
|
||||
applymovement ELMSLAB_ELM, ElmJumpDownMovement
|
||||
loadfont
|
||||
opentext
|
||||
end
|
||||
|
||||
ElmJumpLeftScript:
|
||||
applymovement ELMSLAB_ELM, ElmJumpLeftMovement
|
||||
loadfont
|
||||
opentext
|
||||
end
|
||||
|
||||
ElmJumpRightScript:
|
||||
applymovement ELMSLAB_ELM, ElmJumpRightMovement
|
||||
loadfont
|
||||
opentext
|
||||
end
|
||||
|
||||
AideScript_WalkPotions1:
|
||||
@ -477,7 +477,7 @@ AideScript_WalkPotions2:
|
||||
end
|
||||
|
||||
AideScript_GivePotions:
|
||||
loadfont
|
||||
opentext
|
||||
writetext AideText_GiveYouPotions
|
||||
buttonsound
|
||||
verbosegiveitem POTION
|
||||
@ -502,7 +502,7 @@ AideScript_WalkBalls2:
|
||||
end
|
||||
|
||||
AideScript_GiveYouBalls:
|
||||
loadfont
|
||||
opentext
|
||||
writetext AideText_GiveYouBalls
|
||||
buttonsound
|
||||
itemtotext POKE_BALL, $1
|
||||
@ -521,7 +521,7 @@ AideScript_ReceiveTheBalls:
|
||||
|
||||
ElmsAideScript:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
|
||||
iftrue AideScript_AfterTheft
|
||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||
@ -558,7 +558,7 @@ MeetCopScript:
|
||||
applymovement PLAYER, MeetCopScript_WalkUp
|
||||
CopScript:
|
||||
spriteface ELMSLAB_OFFICER, LEFT
|
||||
loadfont
|
||||
opentext
|
||||
writetext ElmsLabOfficerText1
|
||||
buttonsound
|
||||
special SpecialNameRival
|
||||
@ -571,7 +571,7 @@ CopScript:
|
||||
end
|
||||
|
||||
ElmsLabWindow:
|
||||
loadfont
|
||||
opentext
|
||||
checkflag ENGINE_FLYPOINT_VIOLET
|
||||
iftrue .Normal
|
||||
checkevent EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON
|
||||
|
@ -46,7 +46,7 @@ FastShip1F_MapScriptHeader:
|
||||
|
||||
SailorScript_0x75160:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_FAST_SHIP_HAS_ARRIVED
|
||||
iftrue .Arrived
|
||||
checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
|
||||
@ -104,7 +104,7 @@ SailorScript_0x75160:
|
||||
|
||||
SailorScript_0x751d0:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_FAST_SHIP_FIRST_TIME
|
||||
iftrue .Vermilion
|
||||
writetext UnknownText_0x752f9
|
||||
@ -130,7 +130,7 @@ WorriedGrandpaTriggerLeft:
|
||||
playsound SFX_TACKLE
|
||||
applymovement PLAYER, MovementData_0x7522e
|
||||
applymovement FASTSHIP1F_GENTLEMAN, MovementData_0x75220
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x75412
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -54,7 +54,7 @@ UnknownScript_0x76766:
|
||||
|
||||
SailorScript_0x76767:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_FAST_SHIP_FIRST_TIME
|
||||
iftrue UnknownScript_0x767a0
|
||||
checkevent EVENT_FAST_SHIP_LAZY_SAILOR
|
||||
@ -100,7 +100,7 @@ TrainerSailorJeff:
|
||||
|
||||
SailorJeffScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76a38
|
||||
waitbutton
|
||||
closetext
|
||||
@ -111,7 +111,7 @@ TrainerPicnickerDebra:
|
||||
|
||||
PicnickerDebraScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76a99
|
||||
waitbutton
|
||||
closetext
|
||||
@ -122,7 +122,7 @@ TrainerJugglerFritz:
|
||||
|
||||
JugglerFritzScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76b02
|
||||
waitbutton
|
||||
closetext
|
||||
@ -133,7 +133,7 @@ TrainerSailorGarrett:
|
||||
|
||||
SailorGarrettScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76b7a
|
||||
waitbutton
|
||||
closetext
|
||||
@ -144,7 +144,7 @@ TrainerFisherJonah:
|
||||
|
||||
FisherJonahScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76c22
|
||||
waitbutton
|
||||
closetext
|
||||
@ -155,7 +155,7 @@ TrainerBlackbeltWai:
|
||||
|
||||
BlackbeltWaiScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76c9e
|
||||
waitbutton
|
||||
closetext
|
||||
@ -166,7 +166,7 @@ TrainerSailorKenneth:
|
||||
|
||||
SailorKennethScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76d5f
|
||||
waitbutton
|
||||
closetext
|
||||
@ -177,7 +177,7 @@ TrainerTeacherShirley:
|
||||
|
||||
TeacherShirleyScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76de1
|
||||
waitbutton
|
||||
closetext
|
||||
@ -188,7 +188,7 @@ TrainerSchoolboyNate:
|
||||
|
||||
SchoolboyNateScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76e3d
|
||||
waitbutton
|
||||
closetext
|
||||
@ -199,7 +199,7 @@ TrainerSchoolboyRicky:
|
||||
|
||||
SchoolboyRickyScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76eb6
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -19,7 +19,7 @@ TrainerCooltrainermSean:
|
||||
|
||||
CooltrainermSeanScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7567b
|
||||
waitbutton
|
||||
closetext
|
||||
@ -30,7 +30,7 @@ TrainerCooltrainerfCarol:
|
||||
|
||||
CooltrainerfCarolScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x756f7
|
||||
waitbutton
|
||||
closetext
|
||||
@ -41,7 +41,7 @@ TrainerPokemaniacEthan:
|
||||
|
||||
PokemaniacEthanScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7574b
|
||||
waitbutton
|
||||
closetext
|
||||
@ -52,7 +52,7 @@ TrainerHikerNoland:
|
||||
|
||||
HikerNolandScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x757d4
|
||||
waitbutton
|
||||
closetext
|
||||
@ -63,7 +63,7 @@ TrainerGentlemanEdward:
|
||||
|
||||
GentlemanEdwardScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x75937
|
||||
waitbutton
|
||||
closetext
|
||||
@ -74,7 +74,7 @@ TrainerBurglarCorey:
|
||||
|
||||
BurglarCoreyScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x75996
|
||||
waitbutton
|
||||
closetext
|
||||
@ -83,7 +83,7 @@ BurglarCoreyScript:
|
||||
SailorScript_0x755f1:
|
||||
playmusic MUSIC_HIKER_ENCOUNTER
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x75812
|
||||
waitbutton
|
||||
closetext
|
||||
@ -93,7 +93,7 @@ SailorScript_0x755f1:
|
||||
reloadmap
|
||||
special HealParty
|
||||
setevent EVENT_BEAT_SAILOR_STANLY
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x758b1
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -23,7 +23,7 @@ UnknownScript_0x75ea6:
|
||||
|
||||
CaptainScript_0x75ea7:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_FAST_SHIP_FIRST_TIME
|
||||
iftrue UnknownScript_0x75eb5
|
||||
writetext UnknownText_0x76012
|
||||
@ -39,12 +39,12 @@ UnknownScript_0x75eb5:
|
||||
|
||||
TwinScript_0x75ebb:
|
||||
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, RIGHT
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x761e0
|
||||
waitbutton
|
||||
closetext
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7621f
|
||||
waitbutton
|
||||
closetext
|
||||
@ -63,21 +63,21 @@ TwinScript_0x75ebb:
|
||||
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, RIGHT
|
||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||
iftrue UnknownScript_0x75f03
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76284
|
||||
waitbutton
|
||||
closetext
|
||||
jump UnknownScript_0x75f09
|
||||
|
||||
UnknownScript_0x75f03:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x762c6
|
||||
waitbutton
|
||||
closetext
|
||||
UnknownScript_0x75f09:
|
||||
spriteface FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_TWIN2, DOWN
|
||||
applymovement FASTSHIPCABINS_SE_SSE_CAPTAINSCABIN_GENTLEMAN, MovementData_0x76010
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76143
|
||||
buttonsound
|
||||
setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
|
||||
@ -86,7 +86,7 @@ UnknownScript_0x75f09:
|
||||
|
||||
GentlemanScript_0x75f1f:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
|
||||
iftrue UnknownScript_0x75f67
|
||||
checkevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_2
|
||||
@ -108,7 +108,7 @@ UnknownScript_0x75f44:
|
||||
waitsfx
|
||||
playsound SFX_ELEVATOR_END
|
||||
pause 30
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76645
|
||||
waitbutton
|
||||
setevent EVENT_FAST_SHIP_HAS_ARRIVED
|
||||
@ -134,7 +134,7 @@ UnknownScript_0x75f67:
|
||||
|
||||
TwinScript_0x75f6d:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7630d
|
||||
waitbutton
|
||||
closetext
|
||||
@ -145,7 +145,7 @@ TrainerPokefanmColin:
|
||||
|
||||
PokefanmColinScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7635b
|
||||
waitbutton
|
||||
closetext
|
||||
@ -156,7 +156,7 @@ TrainerTwinsMegandpeg1:
|
||||
|
||||
TwinsMegandpeg1Script:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x763c2
|
||||
waitbutton
|
||||
closetext
|
||||
@ -167,7 +167,7 @@ TrainerTwinsMegandpeg2:
|
||||
|
||||
TwinsMegandpeg2Script:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76428
|
||||
waitbutton
|
||||
closetext
|
||||
@ -178,7 +178,7 @@ TrainerPsychicRodney:
|
||||
|
||||
PsychicRodneyScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76497
|
||||
waitbutton
|
||||
closetext
|
||||
@ -189,7 +189,7 @@ TrainerPokefanmJeremy:
|
||||
|
||||
PokefanmJeremyScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7651c
|
||||
waitbutton
|
||||
closetext
|
||||
@ -200,7 +200,7 @@ TrainerPokefanfGeorgia:
|
||||
|
||||
PokefanfGeorgiaScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x76596
|
||||
waitbutton
|
||||
closetext
|
||||
@ -211,7 +211,7 @@ TrainerSupernerdShawn:
|
||||
|
||||
SupernerdShawnScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7660f
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -16,7 +16,7 @@ TrainerFirebreatherLyle:
|
||||
|
||||
FirebreatherLyleScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x75b52
|
||||
waitbutton
|
||||
closetext
|
||||
@ -27,7 +27,7 @@ TrainerBug_catcherKen:
|
||||
|
||||
Bug_catcherKenScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x75bd5
|
||||
waitbutton
|
||||
closetext
|
||||
@ -38,7 +38,7 @@ TrainerBeautyCassie:
|
||||
|
||||
BeautyCassieScript:
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x75c43
|
||||
waitbutton
|
||||
closetext
|
||||
@ -51,21 +51,21 @@ GuitaristClydeScript:
|
||||
end_if_just_battled
|
||||
special Mobile_DummyReturnFalse
|
||||
iftrue .mobile
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x75d65
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
.mobile:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x75cfe
|
||||
waitbutton
|
||||
closetext
|
||||
end
|
||||
|
||||
FastShipBed:
|
||||
loadfont
|
||||
opentext
|
||||
writetext FastShipBedText1
|
||||
waitbutton
|
||||
closetext
|
||||
@ -77,7 +77,7 @@ FastShipBed:
|
||||
pause 60
|
||||
special RestartMapMusic
|
||||
special Special_FadeInQuickly
|
||||
loadfont
|
||||
opentext
|
||||
writetext FastShipBedText2
|
||||
waitbutton
|
||||
closetext
|
||||
@ -95,7 +95,7 @@ UnknownScript_0x75ae2:
|
||||
pause 30
|
||||
checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
|
||||
iftrue UnknownScript_0x75af7
|
||||
loadfont
|
||||
opentext
|
||||
writetext FastShipArrivedVermilionText
|
||||
waitbutton
|
||||
closetext
|
||||
@ -103,7 +103,7 @@ UnknownScript_0x75ae2:
|
||||
end
|
||||
|
||||
UnknownScript_0x75af7:
|
||||
loadfont
|
||||
opentext
|
||||
writetext FastShipArrivedOlivineText
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -18,7 +18,7 @@ JanineScript_0x195db9:
|
||||
iftrue .FightDone
|
||||
applymovement FUCHSIAGYM_JANINE, MovementData_0x195f27
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x195f35
|
||||
waitbutton
|
||||
closetext
|
||||
@ -36,7 +36,7 @@ JanineScript_0x195db9:
|
||||
variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_LASS
|
||||
variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_YOUNGSTER
|
||||
special RunCallback_04
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x195feb
|
||||
playsound SFX_GET_BADGE
|
||||
waitsfx
|
||||
@ -44,7 +44,7 @@ JanineScript_0x195db9:
|
||||
jump UnknownScript_0x195e02
|
||||
.FightDone
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
UnknownScript_0x195e02:
|
||||
checkevent EVENT_GOT_TM06_TOXIC
|
||||
iftrue UnknownScript_0x195e15
|
||||
@ -68,7 +68,7 @@ FuschiaGym1Script_0x195e1b:
|
||||
special RunCallback_04
|
||||
UnknownScript_0x195e2c:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_LASS_ALICE
|
||||
iftrue UnknownScript_0x195e4f
|
||||
writetext UnknownText_0x1960e6
|
||||
@ -102,7 +102,7 @@ FuschiaGym2Script_0x195e55:
|
||||
special RunCallback_04
|
||||
UnknownScript_0x195e66:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_LASS_LINDA
|
||||
iftrue UnknownScript_0x195e89
|
||||
writetext UnknownText_0x196166
|
||||
@ -136,7 +136,7 @@ FuschiaGym3Script_0x195e8f:
|
||||
special RunCallback_04
|
||||
UnknownScript_0x195ea0:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_PICNICKER_CINDY
|
||||
iftrue UnknownScript_0x195ec3
|
||||
writetext UnknownText_0x1961bb
|
||||
@ -170,7 +170,7 @@ FuschiaGym4Script_0x195ec9:
|
||||
special RunCallback_04
|
||||
UnknownScript_0x195eda:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_CAMPER_BARRY
|
||||
iftrue UnknownScript_0x195efd
|
||||
writetext UnknownText_0x196228
|
||||
@ -197,7 +197,7 @@ UnknownScript_0x195efd:
|
||||
|
||||
FuchsiaGymGuyScript:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_BEAT_JANINE
|
||||
iftrue .FuchsiaGymGuyWinScript
|
||||
writetext FuchsiaGymGuyText
|
||||
|
@ -11,7 +11,7 @@ FuchsiaMart_MapScriptHeader:
|
||||
db 0
|
||||
|
||||
ClerkScript_0x195ce8:
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_FUCHSIA
|
||||
closetext
|
||||
end
|
||||
|
@ -28,7 +28,7 @@ CooltrainerFScript_0x19645f:
|
||||
|
||||
JanineImpersonatorScript_0x196462:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x19652e
|
||||
waitbutton
|
||||
closetext
|
||||
@ -36,7 +36,7 @@ JanineImpersonatorScript_0x196462:
|
||||
faceplayer
|
||||
variablesprite SPRITE_JANINE_IMPERSONATOR, SPRITE_JANINE
|
||||
special RunCallback_04
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x19654e
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -13,7 +13,7 @@ UnknownScript_0x5474f:
|
||||
|
||||
ClerkScript_0x54750:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_BICYCLE
|
||||
iftrue UnknownScript_0x54775
|
||||
writetext UnknownText_0x54787
|
||||
|
@ -12,7 +12,7 @@ GoldenrodBillsHouse_MapScriptHeader:
|
||||
|
||||
BillsHouseBill:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_EEVEE
|
||||
iftrue UnknownScript_0x54c1f
|
||||
writetext UnknownText_0x54c74
|
||||
@ -53,7 +53,7 @@ UnknownScript_0x54c1f:
|
||||
|
||||
BillsMom:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_MET_BILL
|
||||
iffalse UnknownScript_0x54c33
|
||||
writetext UnknownText_0x54ea8
|
||||
@ -69,7 +69,7 @@ UnknownScript_0x54c33:
|
||||
|
||||
BillsSister:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkcellnum PHONE_BILL
|
||||
iftrue UnknownScript_0x54c58
|
||||
writetext UnknownText_0x54f9e
|
||||
|
@ -56,7 +56,7 @@ GoldenrodCity_MapScriptHeader:
|
||||
|
||||
MoveTutor:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x199042
|
||||
yesorno
|
||||
iffalse .Refused
|
||||
@ -170,7 +170,7 @@ YoungsterScript_0x1989e6:
|
||||
|
||||
CooltrainerFScript_0x1989e9:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||
iftrue .ClearedRadioTower
|
||||
writetext UnknownText_0x198ae6
|
||||
@ -186,7 +186,7 @@ CooltrainerFScript_0x1989e9:
|
||||
|
||||
CooltrainerFScript_0x1989fd:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkflag ENGINE_RADIO_CARD
|
||||
iftrue .GotRadioCard
|
||||
writetext UnknownText_0x198b73
|
||||
@ -210,7 +210,7 @@ GrampsScript_0x198a17:
|
||||
jumptextfaceplayer UnknownText_0x198ccf
|
||||
|
||||
RocketScript_0x198a1a:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x198d0d
|
||||
buttonsound
|
||||
faceplayer
|
||||
|
@ -14,14 +14,14 @@ GoldenrodDeptStore2F_MapScriptHeader:
|
||||
|
||||
ClerkScript_0x55b5d:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_2F_1
|
||||
closetext
|
||||
end
|
||||
|
||||
ClerkScript_0x55b65:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_2F_2
|
||||
closetext
|
||||
end
|
||||
|
@ -12,7 +12,7 @@ GoldenrodDeptStore3F_MapScriptHeader:
|
||||
|
||||
ClerkScript_0x55db8:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_3F
|
||||
closetext
|
||||
end
|
||||
|
@ -13,7 +13,7 @@ GoldenrodDeptStore4F_MapScriptHeader:
|
||||
|
||||
ClerkScript_0x55ee9:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_STANDARD, MART_GOLDENROD_4F
|
||||
closetext
|
||||
end
|
||||
@ -26,7 +26,7 @@ BugCatcherScript_0x55ef4:
|
||||
|
||||
GameboyKidScript_0x55ef7:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x55f74
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -29,7 +29,7 @@ GoldenrodDeptStore5F_MapScriptHeader:
|
||||
|
||||
ClerkScript_0x5609c:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_GOT_TM02_HEADBUTT
|
||||
iftrue .headbutt
|
||||
checkevent EVENT_GOT_TM08_ROCK_SMASH
|
||||
@ -63,7 +63,7 @@ ClerkScript_0x5609c:
|
||||
|
||||
ReceptionistScript_0x560ce:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkcode VAR_WEEKDAY
|
||||
if_not_equal SUNDAY, .EventIsOver
|
||||
checkflag ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
|
||||
@ -108,7 +108,7 @@ ReceptionistScript_0x560ce:
|
||||
|
||||
TwinScript_0x56118:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
special SpecialGameboyCheck
|
||||
if_not_equal $2, .NotGBC ; This is a dummy check from Gold and Silver. In normal gameplay, this would not be checked.
|
||||
writetext UnknownText_0x56241
|
||||
@ -128,7 +128,7 @@ LassScript_0x56130:
|
||||
|
||||
CooltrainerMScript_0x56133:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
trade $0
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -10,7 +10,7 @@ GoldenrodDeptStore6F_MapScriptHeader:
|
||||
db 0
|
||||
|
||||
GoldenrodVendingMachine:
|
||||
loadfont
|
||||
opentext
|
||||
writetext GoldenrodVendingText
|
||||
.Start
|
||||
special PlaceMoneyTopRightOW
|
||||
|
@ -60,7 +60,7 @@ BlackBeltScript_0x7d7b6:
|
||||
jumptextfaceplayer UnknownText_0x7d875
|
||||
|
||||
MachopScript_0x7d7b9:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x7d8bb
|
||||
cry MACHOKE
|
||||
waitbutton
|
||||
|
@ -8,7 +8,7 @@ GoldenrodDeptStoreElevator_MapScriptHeader:
|
||||
db 0
|
||||
|
||||
MapGoldenrodDeptStoreElevatorSignpost0Script:
|
||||
loadfont
|
||||
opentext
|
||||
elevator Elevator_0x566e0
|
||||
closetext
|
||||
iffalse .Done
|
||||
|
@ -44,7 +44,7 @@ GoldenrodDeptStoreRoof_MapScriptHeader:
|
||||
return
|
||||
|
||||
ClerkScript_0x5673f:
|
||||
loadfont
|
||||
opentext
|
||||
pokemart MARTTYPE_ROOFTOP, 0
|
||||
closetext
|
||||
end
|
||||
@ -54,7 +54,7 @@ PokefanFScript_0x56746:
|
||||
|
||||
FisherScript_0x56749:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x567d2
|
||||
waitbutton
|
||||
closetext
|
||||
@ -65,12 +65,12 @@ TwinScript_0x56754:
|
||||
jumptextfaceplayer UnknownText_0x56839
|
||||
|
||||
SuperNerdScript_0x56757:
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x56867
|
||||
waitbutton
|
||||
closetext
|
||||
spriteface GOLDENRODDEPTSTOREROOF_SUPER_NERD, UP
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x56871
|
||||
waitbutton
|
||||
closetext
|
||||
|
@ -21,7 +21,7 @@ FlowerShopTeacherScript:
|
||||
checkflag ENGINE_PLAINBADGE
|
||||
iffalse .NoPlainBadge
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x554c2
|
||||
buttonsound
|
||||
verbosegiveitem SQUIRTBOTTLE
|
||||
@ -33,7 +33,7 @@ FlowerShopTeacherScript:
|
||||
|
||||
.Lalala:
|
||||
spriteface GOLDENRODFLOWERSHOP_TEACHER, LEFT
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x5552e
|
||||
waitbutton
|
||||
closetext
|
||||
@ -50,7 +50,7 @@ FlowerShopTeacherScript:
|
||||
|
||||
FlowerShopFloriaScript:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
checkevent EVENT_FOUGHT_SUDOWOODO
|
||||
iftrue .FoughtSudowoodo
|
||||
checkevent EVENT_GOT_SQUIRTBOTTLE
|
||||
|
@ -44,7 +44,7 @@ UnknownScript_0x56c19: ;0x56c19
|
||||
|
||||
PokefanMScript_0x56c1a:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x5718a
|
||||
waitbutton
|
||||
closetext
|
||||
@ -56,7 +56,7 @@ ClerkScript_0x56c25:
|
||||
|
||||
ReceptionistScript_0x56c28:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x56e50
|
||||
waitbutton
|
||||
checkitem COIN_CASE
|
||||
@ -160,7 +160,7 @@ MenuData2_0x56cd1:
|
||||
|
||||
ReceptionistScript_0x56d01:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x56e50
|
||||
waitbutton
|
||||
checkitem COIN_CASE
|
||||
@ -249,7 +249,7 @@ MenuData2_0x56db8:
|
||||
|
||||
PharmacistScript_0x56df1:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x56f55
|
||||
waitbutton
|
||||
closetext
|
||||
@ -258,7 +258,7 @@ PharmacistScript_0x56df1:
|
||||
|
||||
PokefanMScript_0x56dfc:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x56f9e
|
||||
waitbutton
|
||||
closetext
|
||||
@ -267,7 +267,7 @@ PokefanMScript_0x56dfc:
|
||||
|
||||
CooltrainerMScript_0x56e07:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x56ff4
|
||||
waitbutton
|
||||
closetext
|
||||
@ -276,7 +276,7 @@ CooltrainerMScript_0x56e07:
|
||||
|
||||
PokefanFScript_0x56e12:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x5702b
|
||||
waitbutton
|
||||
closetext
|
||||
@ -288,7 +288,7 @@ CooltrainerFScript_0x56e1d:
|
||||
|
||||
GentlemanScript_0x56e20:
|
||||
faceplayer
|
||||
loadfont
|
||||
opentext
|
||||
writetext UnknownText_0x570b1
|
||||
waitbutton
|
||||
closetext
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user