mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Merge pull request #189 from yenatch/haxwiki-event-flags
dump haxwiki event flag constants and use them in map events
This commit is contained in:
commit
a75940caa2
2
Makefile
2
Makefile
@ -13,7 +13,7 @@ clean:
|
||||
rm -f pokecrystal.o pokecrystal.gbc
|
||||
@echo 'rm -f $(TEXTFILES:.asm=.tx)'
|
||||
@rm -f $(TEXTFILES:.asm=.tx)
|
||||
pokecrystal.o: $(TEXTFILES:.asm=.tx) wram.asm constants.asm $(shell find constants/ -type f -name '*constants.asm') hram.asm gbhw.asm $(LZ_GFX) $(TWOBPP_GFX)
|
||||
pokecrystal.o: $(TEXTFILES:.asm=.tx) wram.asm constants.asm $(shell find constants/ -type f -name '*.asm') hram.asm gbhw.asm $(LZ_GFX) $(TWOBPP_GFX)
|
||||
python prequeue.py $(TEXTQUEUE)
|
||||
rgbasm -o pokecrystal.o pokecrystal.asm
|
||||
.asm.tx:
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,7 @@ AzaleaGym_MapScriptHeader: ; 0x18ec1c
|
||||
BugsyScript_0x18ec1e: ; 0x18ec1e
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $04be
|
||||
checkbit1 EVENT_BEAT_BUGSY
|
||||
iftrue UnknownScript_0x18ec48
|
||||
2writetext UnknownText_0x18ed0b
|
||||
closetext
|
||||
@ -18,7 +18,7 @@ BugsyScript_0x18ec1e: ; 0x18ec1e
|
||||
loadtrainer BUGSY, 1
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setbit1 $04be
|
||||
setbit1 EVENT_BEAT_BUGSY
|
||||
loadfont
|
||||
2writetext UnknownText_0x18ee14
|
||||
playsound $009c
|
||||
@ -27,17 +27,17 @@ BugsyScript_0x18ec1e: ; 0x18ec1e
|
||||
checkcode $7
|
||||
2call UnknownScript_0x18ec73
|
||||
UnknownScript_0x18ec48: ; 0x18ec48
|
||||
checkbit1 $0009
|
||||
checkbit1 EVENT_GOT_TM49_FURY_CUTTER
|
||||
iftrue UnknownScript_0x18ec6d
|
||||
setbit1 $0464
|
||||
setbit1 $053c
|
||||
setbit1 $053d
|
||||
setbit1 $053e
|
||||
setbit1 EVENT_BEAT_TWINS_AMY_AND_MAY
|
||||
setbit1 EVENT_BEAT_BUG_CATCHER_BENNY
|
||||
setbit1 EVENT_BEAT_BUG_CATCHER_AL
|
||||
setbit1 EVENT_BEAT_BUG_CATCHER_JOSH
|
||||
2writetext UnknownText_0x18ee2b
|
||||
keeptextopen
|
||||
verbosegiveitem TM_49, 1
|
||||
iffalse UnknownScript_0x18ec71
|
||||
setbit1 $0009
|
||||
setbit1 EVENT_GOT_TM49_FURY_CUTTER
|
||||
2writetext UnknownText_0x18eefa
|
||||
closetext
|
||||
loadmovesprites
|
||||
@ -213,7 +213,7 @@ Bug_catcherJoshScript: ; 0x18ecde
|
||||
|
||||
AzaleaGymGuyScript: ; 0x18ece6
|
||||
faceplayer
|
||||
checkbit1 $04be
|
||||
checkbit1 EVENT_BEAT_BUGSY
|
||||
iftrue .AzaleaGymGuyWinScript
|
||||
loadfont
|
||||
2writetext AzaleaGymGuyText
|
||||
|
@ -59,9 +59,9 @@ UnknownScript_0x198049: ; 0x198049
|
||||
closetext
|
||||
loadmovesprites
|
||||
setbit1 $06bf
|
||||
checkbit1 $001c
|
||||
checkbit1 EVENT_GOT_TOTODILE_FROM_ELM
|
||||
iftrue UnknownScript_0x198071
|
||||
checkbit1 $001d
|
||||
checkbit1 EVENT_GOT_CHIKORITA_FROM_ELM
|
||||
iftrue UnknownScript_0x198081
|
||||
winlosstext UnknownText_0x1981e6, UnknownText_0x19835b
|
||||
setlasttalked $b
|
||||
@ -119,7 +119,7 @@ AzaleaRocketScript_0x1980ae: ; 0x1980ae
|
||||
GrampsScript_0x1980b1: ; 0x1980b1
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $002b
|
||||
checkbit1 EVENT_CLEARED_SLOWPOKE_WELL
|
||||
iftrue UnknownScript_0x1980bf
|
||||
2writetext UnknownText_0x19841b
|
||||
closetext
|
||||
|
@ -11,23 +11,23 @@ GrampsScript_0x189538: ; 0x189538
|
||||
loadfont
|
||||
checkbit1 $0000
|
||||
iftrue UnknownScript_0x1896ba
|
||||
checkbit1 $0324
|
||||
checkbit1 EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA
|
||||
iftrue UnknownScript_0x1896c0
|
||||
checkbit1 $031a
|
||||
checkbit1 EVENT_MET_BILLS_GRANDPA
|
||||
iftrue UnknownScript_0x189553
|
||||
2writetext UnknownText_0x1896ce
|
||||
keeptextopen
|
||||
setbit1 $031a
|
||||
setbit1 EVENT_MET_BILLS_GRANDPA
|
||||
UnknownScript_0x189553: ; 0x189553
|
||||
checkbit1 $031f
|
||||
checkbit1 EVENT_SHOWED_PICHU_TO_BILLS_GRANDPA
|
||||
iftrue UnknownScript_0x189697
|
||||
checkbit1 $031e
|
||||
checkbit1 EVENT_SHOWED_GROWLITHE_VULPIX_TO_BILLS_GRANDPA
|
||||
iftrue UnknownScript_0x189680
|
||||
checkbit1 $031d
|
||||
checkbit1 EVENT_SHOWED_STARYU_TO_BILLS_GRANDPA
|
||||
iftrue UnknownScript_0x189669
|
||||
checkbit1 $031c
|
||||
checkbit1 EVENT_SHOWED_ODDISH_TO_BILLS_GRANDPA
|
||||
iftrue UnknownScript_0x189652
|
||||
checkbit1 $031b
|
||||
checkbit1 EVENT_SHOWED_LICKITUNG_TO_BILLS_GRANDPA
|
||||
iftrue UnknownScript_0x18963b
|
||||
2writetext UnknownText_0x1898c0
|
||||
keeptextopen
|
||||
@ -39,7 +39,7 @@ UnknownScript_0x189553: ; 0x189553
|
||||
iffalse UnknownScript_0x1896aa
|
||||
if_not_equal LICKITUNG, UnknownScript_0x1896c6
|
||||
2call UnknownScript_0x1896b0
|
||||
setbit1 $031b
|
||||
setbit1 EVENT_SHOWED_LICKITUNG_TO_BILLS_GRANDPA
|
||||
2jump UnknownScript_0x18963b
|
||||
; 0x189592
|
||||
|
||||
@ -54,7 +54,7 @@ UnknownScript_0x189592: ; 0x189592
|
||||
iffalse UnknownScript_0x1896aa
|
||||
if_not_equal ODDISH, UnknownScript_0x1896c6
|
||||
2call UnknownScript_0x1896b0
|
||||
setbit1 $031c
|
||||
setbit1 EVENT_SHOWED_ODDISH_TO_BILLS_GRANDPA
|
||||
2jump UnknownScript_0x189652
|
||||
; 0x1895b3
|
||||
|
||||
@ -69,7 +69,7 @@ UnknownScript_0x1895b3: ; 0x1895b3
|
||||
iffalse UnknownScript_0x1896aa
|
||||
if_not_equal STARYU, UnknownScript_0x1896c6
|
||||
2call UnknownScript_0x1896b0
|
||||
setbit1 $031d
|
||||
setbit1 EVENT_SHOWED_STARYU_TO_BILLS_GRANDPA
|
||||
2jump UnknownScript_0x189669
|
||||
; 0x1895d4
|
||||
|
||||
@ -86,7 +86,7 @@ UnknownScript_0x1895d4: ; 0x1895d4
|
||||
iffalse UnknownScript_0x1896aa
|
||||
if_not_equal GROWLITHE, UnknownScript_0x1896c6
|
||||
2call UnknownScript_0x1896b0
|
||||
setbit1 $031e
|
||||
setbit1 EVENT_SHOWED_GROWLITHE_VULPIX_TO_BILLS_GRANDPA
|
||||
2jump UnknownScript_0x189680
|
||||
; 0x1895f9
|
||||
|
||||
@ -101,7 +101,7 @@ UnknownScript_0x1895f9: ; 0x1895f9
|
||||
iffalse UnknownScript_0x1896aa
|
||||
if_not_equal VULPIX, UnknownScript_0x1896c6
|
||||
2call UnknownScript_0x1896b0
|
||||
setbit1 $031e
|
||||
setbit1 EVENT_SHOWED_GROWLITHE_VULPIX_TO_BILLS_GRANDPA
|
||||
2jump UnknownScript_0x189680
|
||||
; 0x18961a
|
||||
|
||||
@ -116,53 +116,53 @@ UnknownScript_0x18961a: ; 0x18961a
|
||||
iffalse UnknownScript_0x1896aa
|
||||
if_not_equal PICHU, UnknownScript_0x1896c6
|
||||
2call UnknownScript_0x1896b0
|
||||
setbit1 $031f
|
||||
setbit1 EVENT_SHOWED_PICHU_TO_BILLS_GRANDPA
|
||||
2jump UnknownScript_0x189697
|
||||
; 0x18963b
|
||||
|
||||
UnknownScript_0x18963b: ; 0x18963b
|
||||
checkbit1 $0320
|
||||
checkbit1 EVENT_GOT_EVERSTONE_FROM_BILLS_GRANDPA
|
||||
iftrue UnknownScript_0x189592
|
||||
2call UnknownScript_0x1896b5
|
||||
verbosegiveitem EVERSTONE, 1
|
||||
iffalse UnknownScript_0x1896cc
|
||||
setbit1 $0320
|
||||
setbit1 EVENT_GOT_EVERSTONE_FROM_BILLS_GRANDPA
|
||||
setbit1 $0000
|
||||
loadmovesprites
|
||||
end
|
||||
; 0x189652
|
||||
|
||||
UnknownScript_0x189652: ; 0x189652
|
||||
checkbit1 $0321
|
||||
checkbit1 EVENT_GOT_LEAF_STONE_FROM_BILLS_GRANDPA
|
||||
iftrue UnknownScript_0x1895b3
|
||||
2call UnknownScript_0x1896b5
|
||||
verbosegiveitem LEAF_STONE, 1
|
||||
iffalse UnknownScript_0x1896cc
|
||||
setbit1 $0321
|
||||
setbit1 EVENT_GOT_LEAF_STONE_FROM_BILLS_GRANDPA
|
||||
setbit1 $0000
|
||||
loadmovesprites
|
||||
end
|
||||
; 0x189669
|
||||
|
||||
UnknownScript_0x189669: ; 0x189669
|
||||
checkbit1 $0322
|
||||
checkbit1 EVENT_GOT_WATER_STONE_FROM_BILLS_GRANDPA
|
||||
iftrue UnknownScript_0x1895d4
|
||||
2call UnknownScript_0x1896b5
|
||||
verbosegiveitem WATER_STONE, 1
|
||||
iffalse UnknownScript_0x1896cc
|
||||
setbit1 $0322
|
||||
setbit1 EVENT_GOT_WATER_STONE_FROM_BILLS_GRANDPA
|
||||
setbit1 $0000
|
||||
loadmovesprites
|
||||
end
|
||||
; 0x189680
|
||||
|
||||
UnknownScript_0x189680: ; 0x189680
|
||||
checkbit1 $0323
|
||||
checkbit1 EVENT_GOT_FIRE_STONE_FROM_BILLS_GRANDPA
|
||||
iftrue UnknownScript_0x18961a
|
||||
2call UnknownScript_0x1896b5
|
||||
verbosegiveitem FIRE_STONE, 1
|
||||
iffalse UnknownScript_0x1896cc
|
||||
setbit1 $0323
|
||||
setbit1 EVENT_GOT_FIRE_STONE_FROM_BILLS_GRANDPA
|
||||
setbit1 $0000
|
||||
loadmovesprites
|
||||
end
|
||||
@ -172,7 +172,7 @@ UnknownScript_0x189697: ; 0x189697
|
||||
2call UnknownScript_0x1896b5
|
||||
verbosegiveitem THUNDERSTONE, 1
|
||||
iffalse UnknownScript_0x1896cc
|
||||
setbit1 $0324
|
||||
setbit1 EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA
|
||||
loadmovesprites
|
||||
end
|
||||
; 0x1896a5
|
||||
|
@ -32,9 +32,9 @@ UnknownScript_0x1a46e5: ; 0x1a46e5
|
||||
SuperNerdScript_0x1a46e8: ; 0x1a46e8
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $04c4
|
||||
checkbit1 EVENT_BEAT_CLAIR
|
||||
iftrue UnknownScript_0x1a4702
|
||||
checkbit1 $0021
|
||||
checkbit1 EVENT_CLEARED_RADIO_TOWER
|
||||
iftrue UnknownScript_0x1a46fc
|
||||
2writetext UnknownText_0x1a477a
|
||||
closetext
|
||||
@ -67,7 +67,7 @@ GrampsScript_0x1a470b: ; 0x1a470b
|
||||
BlackBeltScript_0x1a470e: ; 0x1a470e
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $0021
|
||||
checkbit1 EVENT_CLEARED_RADIO_TOWER
|
||||
iftrue UnknownScript_0x1a471c
|
||||
2writetext UnknownText_0x1a494a
|
||||
closetext
|
||||
@ -97,21 +97,21 @@ CooltrainerFScript_0x1a4728: ; 0x1a4728
|
||||
YoungsterScript_0x1a472b: ; 0x1a472b
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $006d
|
||||
checkbit1 EVENT_GOT_SPELL_TAG_FROM_SANTOS
|
||||
iftrue UnknownScript_0x1a4759
|
||||
checkcode $b
|
||||
if_not_equal SATURDAY, UnknownScript_0x1a475f
|
||||
checkbit1 $006c
|
||||
checkbit1 EVENT_MET_SANTOS_OF_SATURDAY
|
||||
iftrue UnknownScript_0x1a4746
|
||||
2writetext UnknownText_0x1a4a27
|
||||
keeptextopen
|
||||
setbit1 $006c
|
||||
setbit1 EVENT_MET_SANTOS_OF_SATURDAY
|
||||
UnknownScript_0x1a4746: ; 0x1a4746
|
||||
2writetext UnknownText_0x1a4a57
|
||||
keeptextopen
|
||||
verbosegiveitem SPELL_TAG, 1
|
||||
iffalse UnknownScript_0x1a475d
|
||||
setbit1 $006d
|
||||
setbit1 EVENT_GOT_SPELL_TAG_FROM_SANTOS
|
||||
2writetext UnknownText_0x1a4a6b
|
||||
closetext
|
||||
loadmovesprites
|
||||
|
@ -31,7 +31,7 @@ ClairScript_0x194e24: ; 0x194e24
|
||||
loadfont
|
||||
checkbit2 $0022
|
||||
iftrue UnknownScript_0x194e69
|
||||
checkbit1 $04c4
|
||||
checkbit1 EVENT_BEAT_CLAIR
|
||||
iftrue UnknownScript_0x194e63
|
||||
2writetext UnknownText_0x194efa
|
||||
closetext
|
||||
@ -40,16 +40,16 @@ ClairScript_0x194e24: ; 0x194e24
|
||||
loadtrainer CLAIR, 1
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setbit1 $04c4
|
||||
setbit1 EVENT_BEAT_CLAIR
|
||||
loadfont
|
||||
2writetext UnknownText_0x19500e
|
||||
closetext
|
||||
loadmovesprites
|
||||
setbit1 $054a
|
||||
setbit1 $054b
|
||||
setbit1 $054c
|
||||
setbit1 $055d
|
||||
setbit1 $055e
|
||||
setbit1 EVENT_BEAT_COOLTRAINERM_PAUL
|
||||
setbit1 EVENT_BEAT_COOLTRAINERM_CODY
|
||||
setbit1 EVENT_BEAT_COOLTRAINERM_MIKE
|
||||
setbit1 EVENT_BEAT_COOLTRAINERF_FRAN
|
||||
setbit1 EVENT_BEAT_COOLTRAINERF_LOLA
|
||||
clearbit1 $0736
|
||||
setbit1 $074c
|
||||
clearbit1 $074d
|
||||
@ -64,7 +64,7 @@ UnknownScript_0x194e63: ; 0x194e63
|
||||
; 0x194e69
|
||||
|
||||
UnknownScript_0x194e69: ; 0x194e69
|
||||
checkbit1 $000f
|
||||
checkbit1 EVENT_GOT_TM24_DRAGONBREATH
|
||||
iftrue UnknownScript_0x194e94
|
||||
2writetext UnknownText_0x195196
|
||||
keeptextopen
|
||||
@ -75,7 +75,7 @@ UnknownScript_0x194e69: ; 0x194e69
|
||||
playsound $0001
|
||||
waitbutton
|
||||
itemnotify
|
||||
setbit1 $000f
|
||||
setbit1 EVENT_GOT_TM24_DRAGONBREATH
|
||||
2writetext UnknownText_0x1951d1
|
||||
keeptextopen
|
||||
2jump UnknownScript_0x194e94
|
||||
@ -185,7 +185,7 @@ CooltrainerfLolaScript: ; 0x194ece
|
||||
BlackthornGymGuyScript: ; 0x194ed6
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $04c4
|
||||
checkbit1 EVENT_BEAT_CLAIR
|
||||
iftrue .BlackthornGymGuyWinScript
|
||||
2writetext BlackthornGymGuyText
|
||||
closetext
|
||||
|
@ -24,11 +24,11 @@ UnknownScript_0x180997: ; 0x180997
|
||||
; 0x180998
|
||||
|
||||
UnknownScript_0x180998: ; 0x180998
|
||||
checkbit1 $030d
|
||||
checkbit1 EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
|
||||
iffalse UnknownScript_0x1809a2
|
||||
changeblock $4, $e, $2a
|
||||
UnknownScript_0x1809a2: ; 0x1809a2
|
||||
checkbit1 $030e
|
||||
checkbit1 EVENT_BRUNOS_ROOM_EXIT_OPEN
|
||||
iffalse UnknownScript_0x1809ac
|
||||
changeblock $4, $2, $16
|
||||
UnknownScript_0x1809ac: ; 0x1809ac
|
||||
@ -44,7 +44,7 @@ UnknownScript_0x1809ad: ; 0x1809ad
|
||||
reloadmappart
|
||||
loadmovesprites
|
||||
dotrigger $1
|
||||
setbit1 $030d
|
||||
setbit1 EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
|
||||
waitbutton
|
||||
end
|
||||
; 0x1809c5
|
||||
@ -70,7 +70,7 @@ BrunoScript_0x1809c5: ; 0x1809c5
|
||||
changeblock $4, $2, $16
|
||||
reloadmappart
|
||||
loadmovesprites
|
||||
setbit1 $030e
|
||||
setbit1 EVENT_BRUNOS_ROOM_EXIT_OPEN
|
||||
waitbutton
|
||||
end
|
||||
; 0x1809f3
|
||||
|
@ -33,7 +33,7 @@ UnknownScript_0x185bf8: ; 0x185bf8
|
||||
iftrue UnknownScript_0x185c02
|
||||
changeblock $a, $8, $32
|
||||
UnknownScript_0x185c02: ; 0x185c02
|
||||
checkbit1 $007b
|
||||
checkbit1 EVENT_RELEASED_THE_BEASTS
|
||||
iftrue UnknownScript_0x185c0c
|
||||
changeblock $6, $e, $9
|
||||
UnknownScript_0x185c0c: ; 0x185c0c
|
||||
@ -66,9 +66,9 @@ UnknownScript_0x185c25: ; 0x185c25
|
||||
2writetext UnknownText_0x185cd9
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkbit1 $001c
|
||||
checkbit1 EVENT_GOT_TOTODILE_FROM_ELM
|
||||
iftrue UnknownScript_0x185c60
|
||||
checkbit1 $001d
|
||||
checkbit1 EVENT_GOT_CHIKORITA_FROM_ELM
|
||||
iftrue UnknownScript_0x185c70
|
||||
winlosstext UnknownText_0x185d9b, UnknownText_0x185e2c
|
||||
setlasttalked $4
|
||||
|
@ -23,7 +23,7 @@ UnknownScript_0x18615f: ; 0x18615f
|
||||
; 0x186160
|
||||
|
||||
UnknownScript_0x186160: ; 0x186160
|
||||
checkbit1 $007b
|
||||
checkbit1 EVENT_RELEASED_THE_BEASTS
|
||||
iftrue UnknownScript_0x18616a
|
||||
changeblock $6, $e, $2
|
||||
UnknownScript_0x18616a: ; 0x18616a
|
||||
@ -80,11 +80,11 @@ UnknownScript_0x18616b: ; 0x18616b
|
||||
waitbutton
|
||||
special $003d
|
||||
dotrigger $1
|
||||
setbit1 $007b
|
||||
setbit1 EVENT_RELEASED_THE_BEASTS
|
||||
special $0069
|
||||
domaptrigger GROUP_ECRUTEAK_GYM, MAP_ECRUTEAK_GYM, $1
|
||||
domaptrigger GROUP_CIANWOOD_CITY, MAP_CIANWOOD_CITY, $1
|
||||
clearbit1 $07ae
|
||||
clearbit1 EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
|
||||
setbit1 $07a8
|
||||
clearbit1 $07a9
|
||||
setbit1 $0764
|
||||
|
@ -92,7 +92,7 @@ MapCeladonCafeSignpost0Script: ; 0x730ad
|
||||
; 0x730b0
|
||||
|
||||
MapCeladonCafeSignpost1Script: ; 0x730b0
|
||||
checkbit1 $00f9
|
||||
checkbit1 EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE
|
||||
iftrue UnknownScript_0x730db
|
||||
giveitem LEFTOVERS, $1
|
||||
iffalse UnknownScript_0x730cd
|
||||
@ -103,7 +103,7 @@ MapCeladonCafeSignpost1Script: ; 0x730b0
|
||||
waitbutton
|
||||
itemnotify
|
||||
loadmovesprites
|
||||
setbit1 $00f9
|
||||
setbit1 EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE
|
||||
end
|
||||
; 0x730cd
|
||||
|
||||
|
@ -47,7 +47,7 @@ FishingGuruScript_0x72139: ; 0x72139
|
||||
FisherScript_0x72144: ; 0x72144
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $00ce
|
||||
checkbit1 EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
|
||||
iftrue .UnknownScript_0x72169
|
||||
2writetext UnknownText_0x722dc
|
||||
keeptextopen
|
||||
@ -58,7 +58,7 @@ FisherScript_0x72144: ; 0x72144
|
||||
stringtotext .coinname, $1
|
||||
2call .UnknownScript_0x72172
|
||||
givecoins 18
|
||||
setbit1 $00ce
|
||||
setbit1 EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
|
||||
.UnknownScript_0x72169 ; 0x72169
|
||||
2writetext UnknownText_0x72345
|
||||
closetext
|
||||
|
@ -19,23 +19,23 @@ ErikaScript_0x72a6a: ; 0x72a6a
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setbit1 $04c8
|
||||
setbit1 $051d
|
||||
setbit1 $0490
|
||||
setbit1 $04ba
|
||||
setbit1 $0468
|
||||
setbit1 EVENT_BEAT_LASS_MICHELLE
|
||||
setbit1 EVENT_BEAT_PICNICKER_TANYA
|
||||
setbit1 EVENT_BEAT_BEAUTY_JULIA
|
||||
setbit1 EVENT_BEAT_TWINS_JO_AND_ZOE
|
||||
loadfont
|
||||
2writetext UnknownText_0x72c96
|
||||
playsound $009c
|
||||
waitbutton
|
||||
setbit2 $0026
|
||||
UnknownScript_0x72a9b: ; 0x72a9b
|
||||
checkbit1 $00dc
|
||||
checkbit1 EVENT_GOT_TM19_GIGA_DRAIN
|
||||
iftrue UnknownScript_0x72aae
|
||||
2writetext UnknownText_0x72cb0
|
||||
keeptextopen
|
||||
verbosegiveitem TM_19, 1
|
||||
iffalse UnknownScript_0x72aae
|
||||
setbit1 $00dc
|
||||
setbit1 EVENT_GOT_TM19_GIGA_DRAIN
|
||||
UnknownScript_0x72aae: ; 0x72aae
|
||||
2writetext UnknownText_0x72d8f
|
||||
closetext
|
||||
|
@ -28,14 +28,14 @@ UnknownScript_0x7167e: ; 0x7167e
|
||||
2writetext UnknownText_0x71763
|
||||
closetext
|
||||
loadmovesprites
|
||||
setbit1 $00d6
|
||||
setbit1 EVENT_ENABLE_DIPLOMA_PRINTING
|
||||
end
|
||||
; 0x71696
|
||||
|
||||
GymGuyScript_0x71696: ; 0x71696
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $00d6
|
||||
checkbit1 EVENT_ENABLE_DIPLOMA_PRINTING
|
||||
iftrue UnknownScript_0x716a4
|
||||
2writetext UnknownText_0x717b4
|
||||
closetext
|
||||
|
@ -9,7 +9,7 @@ CeladonMansionRoofHouse_MapScriptHeader: ; 0x71afb
|
||||
PharmacistScript_0x71afd: ; 0x71afd
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $00da
|
||||
checkbit1 EVENT_GOT_TM03_CURSE
|
||||
iftrue UnknownScript_0x71b21
|
||||
2writetext UnknownText_0x71b27
|
||||
keeptextopen
|
||||
@ -26,7 +26,7 @@ UnknownScript_0x71b14: ; 0x71b14
|
||||
keeptextopen
|
||||
verbosegiveitem TM_03, 1
|
||||
iffalse UnknownScript_0x71b25
|
||||
setbit1 $00da
|
||||
setbit1 EVENT_GOT_TM03_CURSE
|
||||
UnknownScript_0x71b21: ; 0x71b21
|
||||
2writetext UnknownText_0x71db3
|
||||
closetext
|
||||
|
@ -18,7 +18,7 @@ UnknownScript_0x184005: ; 0x184005
|
||||
CooltrainerMScript_0x184009: ; 0x184009
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $00c9
|
||||
checkbit1 EVENT_RETURNED_MACHINE_PART
|
||||
iftrue UnknownScript_0x184017
|
||||
2writetext UnknownText_0x1840bc
|
||||
closetext
|
||||
@ -72,9 +72,9 @@ CooltrainerFScript_0x18402a: ; 0x18402a
|
||||
FisherScript_0x18404a: ; 0x18404a
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $00c9
|
||||
checkbit1 EVENT_RETURNED_MACHINE_PART
|
||||
iftrue UnknownScript_0x184058
|
||||
checkbit1 $00cb
|
||||
checkbit1 EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
|
||||
iftrue UnknownScript_0x18405e
|
||||
UnknownScript_0x184058: ; 0x184058
|
||||
2writetext UnknownText_0x18424e
|
||||
|
@ -42,7 +42,7 @@ UnknownScript_0x1883de: ; 0x1883de
|
||||
applymovement $2, MovementData_0x1884e8
|
||||
playsound $0023
|
||||
disappear $2
|
||||
setbit1 $00cb
|
||||
setbit1 EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
|
||||
clearbit1 $076c
|
||||
clearbit1 $076e
|
||||
dotrigger $0
|
||||
@ -68,10 +68,10 @@ MistyScript_0x188432: ; 0x188432
|
||||
loadtrainer MISTY, 1
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setbit1 $04c6
|
||||
setbit1 $03f9
|
||||
setbit1 $03fa
|
||||
setbit1 $05a8
|
||||
setbit1 EVENT_BEAT_MISTY
|
||||
setbit1 EVENT_BEAT_SWIMMERF_DIANA
|
||||
setbit1 EVENT_BEAT_SWIMMERF_BRIANA
|
||||
setbit1 EVENT_BEAT_SWIMMERM_PARKER
|
||||
loadfont
|
||||
2writetext UnknownText_0x188768
|
||||
playsound $009c
|
||||
@ -174,7 +174,7 @@ SwimmermParkerScript: ; 0x18849a
|
||||
CeruleanGymGuyScript: ; 0x1884a2
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $04c6
|
||||
checkbit1 EVENT_BEAT_MISTY
|
||||
iftrue .CeruleanGymGuyWinScript
|
||||
2writetext CeruleanGymGuyText
|
||||
closetext
|
||||
|
@ -9,9 +9,9 @@ CharcoalKiln_MapScriptHeader: ; 0x18dd18
|
||||
BlackBeltScript_0x18dd1a: ; 0x18dd1a
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $0010
|
||||
checkbit1 EVENT_GOT_HM01_CUT
|
||||
iftrue UnknownScript_0x18dd34
|
||||
checkbit1 $002b
|
||||
checkbit1 EVENT_CLEARED_SLOWPOKE_WELL
|
||||
iftrue UnknownScript_0x18dd2e
|
||||
2writetext UnknownText_0x18dd74
|
||||
closetext
|
||||
@ -36,9 +36,9 @@ UnknownScript_0x18dd34: ; 0x18dd34
|
||||
YoungsterScript_0x18dd3a: ; 0x18dd3a
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $005e
|
||||
checkbit1 EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
|
||||
iftrue UnknownScript_0x18dd5d
|
||||
checkbit1 $0010
|
||||
checkbit1 EVENT_GOT_HM01_CUT
|
||||
iftrue UnknownScript_0x18dd4e
|
||||
2writetext UnknownText_0x18dee0
|
||||
closetext
|
||||
@ -51,7 +51,7 @@ UnknownScript_0x18dd4e: ; 0x18dd4e
|
||||
keeptextopen
|
||||
verbosegiveitem CHARCOAL, 1
|
||||
iffalse UnknownScript_0x18dd61
|
||||
setbit1 $005e
|
||||
setbit1 EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
|
||||
loadmovesprites
|
||||
end
|
||||
; 0x18dd5d
|
||||
|
@ -87,7 +87,7 @@ UnknownScript_0x19c01f: ; 0x19c01f
|
||||
applymovement $2, MovementData_0x19c1cb
|
||||
playsound $001f
|
||||
disappear $2
|
||||
clearbit1 $06ff
|
||||
clearbit1 EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE
|
||||
waitbutton
|
||||
end
|
||||
|
||||
@ -123,9 +123,9 @@ UnknownScript_0x19c0ae: ; 0x19c0ae
|
||||
2writetext UnknownText_0x19c4e2
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkbit1 $001c
|
||||
checkbit1 EVENT_GOT_TOTODILE_FROM_ELM
|
||||
iftrue UnknownScript_0x19c0ee
|
||||
checkbit1 $001d
|
||||
checkbit1 EVENT_GOT_CHIKORITA_FROM_ELM
|
||||
iftrue UnknownScript_0x19c104
|
||||
winlosstext UnknownText_0x19c57f, UnknownText_0x19c5e6
|
||||
setlasttalked $3
|
||||
@ -228,13 +228,13 @@ UnknownScript_0x19c168: ; 0x19c168
|
||||
FisherScript_0x19c16e: ; 0x19c16e
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $004d
|
||||
checkbit1 EVENT_GOT_MYSTIC_WATER_IN_CHERRYGROVE
|
||||
iftrue UnknownScript_0x19c183
|
||||
2writetext UnknownText_0x19c766
|
||||
keeptextopen
|
||||
verbosegiveitem MYSTIC_WATER, 1
|
||||
iffalse UnknownScript_0x19c187
|
||||
setbit1 $004d
|
||||
setbit1 EVENT_GOT_MYSTIC_WATER_IN_CHERRYGROVE
|
||||
UnknownScript_0x19c183: ; 0x19c183
|
||||
2writetext UnknownText_0x19c7c1
|
||||
closetext
|
||||
|
@ -8,7 +8,7 @@ CherrygroveMart_MapScriptHeader: ; 0x196808
|
||||
|
||||
ClerkScript_0x19680a: ; 0x19680a
|
||||
loadfont
|
||||
checkbit1 $001f
|
||||
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||
iftrue UnknownScript_0x196817
|
||||
pokemart $0, $0000
|
||||
loadmovesprites
|
||||
@ -24,7 +24,7 @@ UnknownScript_0x196817: ; 0x196817
|
||||
CooltrainerMScript_0x19681d: ; 0x19681d
|
||||
faceplayer
|
||||
loadfont
|
||||
checkbit1 $001f
|
||||
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||
iftrue UnknownScript_0x19682b
|
||||
2writetext UnknownText_0x196834
|
||||
closetext
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user