shithub: pokecrystal

Download patch

ref: b048ea0faf295832faa3f113ccb9308b60b0b11e
parent: 8bc89189cc8d6059d8eda1b2dd2ed952e7c6fd1d
author: yenatch <[email protected]>
date: Wed Feb 11 10:03:42 EST 2015

Use labels for script specials instead of constants/static values.

--- a/engine/more_phone_scripts.asm
+++ b/engine/more_phone_scripts.asm
@@ -1,5 +1,5 @@
 UnknownScript_0xa0000:
-	special $005d
+	special RandomPhoneMon
 	farscall UnknownScript_0xbde3f
 	if_equal $0, UnknownScript_0xa0013
 	farscall UnknownScript_0xbe51e
@@ -9,7 +9,7 @@
 	farjump UnknownScript_0xa002e
 
 UnknownScript_0xa0017:
-	special $005d
+	special RandomPhoneMon
 	farscall UnknownScript_0xbde3f
 	if_equal $0, UnknownScript_0xa002a
 	farscall UnknownScript_0xbe5d0
@@ -27,7 +27,7 @@
 	farjump UnknownScript_0xa0055
 
 UnknownScript_0xa003e:
-	special $005c
+	special Function2a51f
 	farscall UnknownScript_0xbde3f
 	if_equal $0, UnknownScript_0xa0051
 	farscall UnknownScript_0xa017a
@@ -37,7 +37,7 @@
 	farjump UnknownScript_0xa006c
 
 UnknownScript_0xa0055:
-	special $005c
+	special Function2a51f
 	farscall UnknownScript_0xbde3f
 	if_equal $0, UnknownScript_0xa0068
 	farscall UnknownScript_0xa0226
@@ -851,7 +851,7 @@
 	farjump UnknownScript_0xa053a
 
 UnknownScript_0xa05a0:
-	special $005b
+	special Function2a4ab
 	end
 
 UnknownScript_0xa05a4:
--- a/engine/phone_scripts.asm
+++ b/engine/phone_scripts.asm
@@ -381,7 +381,7 @@
 	iftrue UnknownScript_0xbd1cd
 
 UnknownScript_0xbd19b:
-	special $005d
+	special RandomPhoneMon
 	farjump UnknownScript_0xa0908
 
 UnknownScript_0xbd1a2:
@@ -608,7 +608,7 @@
 	iftrue UnknownScript_0xbd3c4
 
 UnknownScript_0xbd392:
-	special $005d
+	special RandomPhoneMon
 	farjump UnknownScript_0xa0930
 
 UnknownScript_0xbd399:
@@ -808,7 +808,7 @@
 	pokenamemem QWILFISH, $1
 	displaylocation ROUTE_32, $2
 	writebyte $1
-	special $0048
+	special Functionc3fc
 	farjump UnknownScript_0xa05d6
 
 UnknownScript_0xbd55c:
@@ -827,7 +827,7 @@
 	iftrue UnknownScript_0xbd5c3
 
 UnknownScript_0xbd57f:
-	special $005d
+	special RandomPhoneMon
 	farjump UnknownScript_0xa0948
 
 UnknownScript_0xbd586:
@@ -3079,7 +3079,7 @@
 	end
 
 UnknownScript_0xbe622:
-	special $005d
+	special RandomPhoneMon
 	farscall UnknownScript_0xbde3f
 	if_equal $0, UnknownScript_0xbe636
 	farwritetext UnknownText_0x1b518b
--- a/engine/std_scripts.asm
+++ b/engine/std_scripts.asm
@@ -122,16 +122,16 @@
 ; Go ahead and heal
 	farwritetext UnknownText_0x1b01bd
 	pause 20
-	special $009d
+	special Function1060a2
 ; Turn to the machine
 	spriteface $fe, $2
 	pause 10
-	special $001b
+	special Functionc658
 	playmusic MUSIC_NONE
 	writebyte $0
-	special $003e
+	special Function12324
 	pause 30
-	special $003d
+	special RestartMapMusic
 	spriteface $fe, $0
 	pause 10
 ; Has Elm already phoned you about Pokerus?
@@ -141,7 +141,7 @@
 	checkflag $000d
 	iftrue .done
 ; Check for Pokerus
-	special $004e ; SPECIAL_CHECKPOKERUS
+	special SpecialCheckPokerus ; SPECIAL_CHECKPOKERUS
 	iftrue .pokerus
 .done
 ; Thank you for waiting. ...
@@ -212,7 +212,7 @@
 	loadfont
 	farwritetext UnknownText_0x1b048d
 	closetext
-	special $0026
+	special Functionc2c0
 	loadmovesprites
 	end
 ; 0xbc185
@@ -236,7 +236,7 @@
 UnknownScript_0xbc195: ; 0xbc195
 	loadfont
 	writebyte $0
-	special $0028
+	special Functionc355
 	loadmovesprites
 	end
 ; 0xbc19d
@@ -244,7 +244,7 @@
 UnknownScript_0xbc19d: ; 0xbc19d
 	loadfont
 	writebyte $4
-	special $0028
+	special Functionc355
 	loadmovesprites
 	end
 ; 0xbc1a5
@@ -255,7 +255,7 @@
 
 UnknownScript_0xbc1a9: ; 0xbc1a9
 	loadfont
-	special $001c
+	special Function1559a
 	loadmovesprites
 	end
 ; 0xbc1af
@@ -371,7 +371,7 @@
 ; 0xbc25c
 
 UnknownScript_0xbc25c: ; 0xbc25c
-	special $0034
+	special WhiteBGMap
 	scall UnknownScript_0xbc380
 	setevent $0747
 	clearevent $0748
@@ -389,7 +389,7 @@
 	loadfont
 	farwritetext UnknownText_0x1b05bf
 	closetext
-	special $0014
+	special Functionc34a
 	RAM2MEM $0
 	if_equal $1, UnknownScript_0xbc31e
 	if_equal $2, UnknownScript_0xbc332
@@ -415,9 +415,9 @@
 	iffalse UnknownScript_0xbc2c4
 	farwritetext UnknownText_0x1b06d9
 	closetext
-	special $0017
+	special Function13a31
 UnknownScript_0xbc2c4:
-	special $0015
+	special Function4d9e5
 	if_equal $0, UnknownScript_0xbc2d4
 	if_equal $2, UnknownScript_0xbc2d4
 	farwritetext UnknownText_0x1b070d
@@ -447,7 +447,7 @@
 	setevent $0728
 	setevent $0729
 	setflag $0051
-	special $003c
+	special PlayMapMusic
 	end
 ; 0xbc31e
 
@@ -692,7 +692,7 @@
 ; 0xbc574
 
 UnknownScript_0xbc574: ; 0xbc574
-	special $005d
+	special RandomPhoneMon
 	checkcode $17
 	if_equal $5, UnknownScript_0xbc5c9
 	if_equal $7, UnknownScript_0xbc5ce
@@ -816,7 +816,7 @@
 ; 0xbc62d
 
 UnknownScript_0xbc62d: ; 0xbc62d
-	special $005d
+	special RandomPhoneMon
 	checkcode $17
 	if_equal $5, UnknownScript_0xbc682
 	if_equal $7, UnknownScript_0xbc687
@@ -2257,7 +2257,7 @@
 	farwritetext UnknownText_0x1b07e3
 
 UnknownScript_0xbcde4: ; 0xbcde4
-	special $0050
+	special Function24b4e
 	loadmenudata MenuDataHeader_0xbce54
 	interpretmenu2
 	writebackup
@@ -2336,7 +2336,7 @@
 UnknownScript_0xbce7f: ; 0xbce7f
 	faceplayer
 	loadfont
-	special $0059
+	special Function718d
 	if_less_than 50, UnknownScript_0xbce9a
 	if_less_than 150, UnknownScript_0xbce93
 	farwritetext UnknownText_0x1b092a
--- a/macros/event.asm
+++ b/macros/event.asm
@@ -80,10 +80,18 @@
 	dw \1
 	endm
 
+
 special: macro
 	db $0f
-	dw \1 ; predefined_script
+	dw (\1Special - SpecialsPointers) / 3
 	endm
+
+add_special: MACRO
+\1Special::
+	db BANK(\1)
+	dw \1
+ENDM
+
 
 ptcallasm: macro
 	db $10
--- a/main.asm
+++ b/main.asm
@@ -4202,176 +4202,176 @@
 	ret
 ; c029
 
-SpecialsPointers: ; c029
-	dbw BANK(Function97c28), Function97c28
-	dbw BANK(Function29ce8), Function29ce8
-	dbw BANK(Function29d11), Function29d11
-	dbw BANK(Function29d92), Function29d92
-	dbw BANK(Function29e66), Function29e66
-	dbw BANK(Function29e82), Function29e82
-	dbw BANK(Function29efa), Function29efa
-	dbw BANK(Function29eee), Function29eee
-	dbw BANK(Function29c92), Function29c92
-	dbw BANK(Function29cf1), Function29cf1
-	dbw BANK(Function29cfa), Function29cfa
-	dbw BANK(Function29bfb), Function29bfb
-	dbw BANK(Function29c7b), Function29c7b
-	dbw BANK(Function29ec4), Function29ec4
-	dbw BANK(Function29ed9), Function29ed9
-	dbw BANK(Function29eaf), Function29eaf
-	dbw BANK(Function29f47), Function29f47
-	dbw BANK(Functionc2f6), Functionc2f6
-	dbw BANK(Functionc309), Functionc309
-	dbw BANK(Function1050b9), Function1050b9
-	dbw BANK(Functionc34a), Functionc34a
-	dbw BANK(Function4d9e5), Function4d9e5
-	dbw BANK(Function13a12), Function13a12
-	dbw BANK(Function13a31), Function13a31
-	dbw BANK(Function135db), Function135db
-	dbw BANK(Functionfbb32), Functionfbb32
-	dbw BANK(Functionfbcd2), Functionfbcd2
-	dbw BANK(Functionc658), Functionc658
-	dbw BANK(Function1559a), Function1559a
-	dbw BANK(Functionc2e7), Functionc2e7
-	dbw BANK(Function166d6), Function166d6
-	dbw BANK(Function1672a), Function1672a
-	dbw BANK(Function16936), Function16936
-	dbw BANK(Function2c547), Function2c547
-	dbw BANK(Function16218), Function16218
-	dbw BANK(Function8cc04), Function8cc04
-	dbw BANK(SpecialNameRival), SpecialNameRival
-	dbw BANK(Function90913), Function90913
-	dbw BANK(Functionc2c0), Functionc2c0
-	dbw BANK(Functionc2cd), Functionc2cd
-	dbw BANK(Functionc355), Functionc355
-	dbw BANK(Functionc360), Functionc360
-	dbw BANK(Functionc373), Functionc373
-	dbw BANK(Functionc380), Functionc380
-	dbw BANK(Functionc38d), Functionc38d
-	dbw BANK(Functionc3db), Functionc3db
-	dbw BANK(Function8c084), Function8c084
-	dbw BANK(Function8c092), Function8c092
-	dbw BANK(Function8c0b6), Function8c0b6
-	dbw BANK(Function8c079), Function8c079
-	dbw BANK(Function8c0ab), Function8c0ab
-	dbw BANK(Functiond91), Functiond91
-	dbw BANK(WhiteBGMap), WhiteBGMap
-	dbw BANK(UpdateTimePals), UpdateTimePals
-	dbw BANK(ClearTileMap), ClearTileMap
-	dbw BANK(Function1ad2), Function1ad2
-	dbw BANK(Functione4a), Functione4a
-	dbw BANK(Functionc230), Functionc230
-	dbw BANK(SpecialSeenMon), SpecialSeenMon
-	dbw BANK(WaitSFX),WaitSFX
-	dbw BANK(PlayMapMusic), PlayMapMusic
-	dbw BANK(RestartMapMusic), RestartMapMusic
-	dbw BANK(Function12324), Function12324
-	dbw BANK(Function8379), Function8379
-	dbw BANK(Functionc25a), Functionc25a
-	dbw BANK(Functionc268), Functionc268
-	dbw BANK(Functionc276), Functionc276
-	dbw BANK(Functionc284), Functionc284
-	dbw BANK(Functionc3ef), Functionc3ef
-	dbw BANK(Function17421), Function17421
-	dbw BANK(Function17440), Function17440
-	dbw BANK(Function139a8), Function139a8
-	dbw BANK(Functionc3fc), Functionc3fc
-	dbw BANK(Function26feb), Function26feb
-	dbw BANK(Function27043), Function27043
-	dbw BANK(SpecialGiveShuckle), SpecialGiveShuckle
-	dbw BANK(SpecialReturnShuckle), SpecialReturnShuckle
-	dbw BANK(Function73f7), Function73f7
-	dbw BANK(SpecialCheckPokerus),SpecialCheckPokerus
-	dbw BANK(Function24b25), Function24b25
-	dbw BANK(Function24b4e), Function24b4e
-	dbw BANK(Function24ae8), Function24ae8
-	dbw BANK(Function4d87a), Function4d87a
-	dbw BANK(Functionc434), Functionc434
-	dbw BANK(Functionc422), Functionc422
-	dbw BANK(Function4d9d3), Function4d9d3
-	dbw BANK(Function88018), Function88018
-	dbw BANK(SpecialNameRater), SpecialNameRater
-	dbw BANK(Functionc2da), Functionc2da
-	dbw BANK(Function718d), Function718d
-	dbw BANK(Function71ac), Function71ac
-	dbw BANK(Function2a4ab), Function2a4ab
-	dbw BANK(Function2a51f), Function2a51f
-	dbw BANK(RandomPhoneMon), RandomPhoneMon
-	dbw BANK(Function14209), Function14209
-	dbw BANK(Functionfb841), Functionfb841
-	dbw BANK(SpecialSnorlaxAwake),SpecialSnorlaxAwake
-	dbw BANK(Function7413), Function7413
-	dbw BANK(Function7418), Function7418
-	dbw BANK(Function741d), Function741d
-	dbw BANK(Functionc472), Functionc472
-	dbw BANK(ProfOaksPCBoot), ProfOaksPCBoot
-	dbw BANK(SpecialGameboyCheck),SpecialGameboyCheck
-	dbw BANK(SpecialTrainerHouse),SpecialTrainerHouse
-	dbw BANK(Function16dc7), Function16dc7
-	dbw BANK(InitRoamMons), InitRoamMons
-	dbw BANK(Functionc48f), Functionc48f
-	dbw BANK(Functionc49f), Functionc49f
-	dbw BANK(Functionc4ac), Functionc4ac
-	dbw BANK(Function11ac3e), Function11ac3e
-	dbw BANK(Function11b444), Function11b444
-	dbw BANK(Function11b5e8), Function11b5e8
-	dbw BANK(Function11b7e5), Function11b7e5
-	dbw BANK(Function11b879), Function11b879
-	dbw BANK(Function11b920), Function11b920
-	dbw BANK(Function11b93b), Function11b93b
-	dbw BANK(Function1700b0), Function1700b0
-	dbw BANK(Function1700ba), Function1700ba
-	dbw BANK(Function170114), Function170114
-	dbw BANK(Function170215), Function170215
-	dbw BANK(Function1704e1), Function1704e1
-	dbw BANK(Function17021d), Function17021d
-	dbw BANK(Function170b44), Function170b44
-	dbw BANK(Function11ba38), Function11ba38
-	dbw BANK(Function170bd3), Function170bd3
-	dbw BANK(Function117656), Function117656
-	dbw BANK(Reset), Reset
-	dbw BANK(Function1011f1), Function1011f1
-	dbw BANK(Function101220), Function101220
-	dbw BANK(Function101225), Function101225
-	dbw BANK(Function101231), Function101231
-	dbw BANK(Function4925b), Function4925b
-	dbw BANK(Function8adef), Function8adef
-	dbw BANK(Function11c1ab), Function11c1ab
-	dbw BANK(Function170687), Function170687
-	dbw BANK(Function8ae68), Function8ae68
-	dbw BANK(Function17d224), Function17d224
-	dbw BANK(Function17d2b6), Function17d2b6
-	dbw BANK(Function17d2ce), Function17d2ce
-	dbw BANK(Function17f53d), Function17f53d
-	dbw BANK(Function103612), Function103612
-	dbw BANK(SpecialHoOhChamber),SpecialHoOhChamber
-	dbw BANK(Function102142), Function102142
-	dbw BANK(Function4989a), Function4989a
-	dbw BANK(Function49bf9), Function49bf9
-	dbw BANK(SpecialPokeSeer), SpecialPokeSeer
-	dbw BANK(SpecialBuenasPassword), SpecialBuenasPassword
-	dbw BANK(SpecialBuenaPrize), SpecialBuenaPrize
-	dbw BANK(SpecialDratini),SpecialDratini
-	dbw BANK(Function11485), Function11485
-	dbw BANK(SpecialBeastsCheck),SpecialBeastsCheck
-	dbw BANK(SpecialMonCheck),SpecialMonCheck
-	dbw BANK(Functionc225), Functionc225
-	dbw BANK(Function170bd2), Function170bd2
-	dbw BANK(Function10366e), Function10366e
-	dbw BANK(Function1037eb), Function1037eb
-	dbw BANK(Function10383c), Function10383c
-	dbw BANK(Function1060a2), Function1060a2
-	dbw BANK(Function14168), Function14168
-	dbw BANK(Function1037c2), Function1037c2
-	dbw BANK(Function10630f), Function10630f
-	dbw BANK(Function103780), Function103780
-	dbw BANK(Function10387b), Function10387b
-	dbw BANK(Function4ae12), Function4ae12
-	dbw BANK(Function1047eb), Function1047eb
-	dbw BANK(Function4a927), Function4a927
-	dbw BANK(Function90a54), Function90a54
-	dbw BANK(Function90a88), Function90a88
-	dbw BANK(SpecialNone), SpecialNone
+SpecialsPointers:: ; c029
+	add_special Function97c28
+	add_special Function29ce8
+	add_special Function29d11
+	add_special Function29d92
+	add_special Function29e66
+	add_special Function29e82
+	add_special Function29efa
+	add_special Function29eee
+	add_special Function29c92
+	add_special Function29cf1
+	add_special Function29cfa
+	add_special Function29bfb
+	add_special Function29c7b
+	add_special Function29ec4
+	add_special Function29ed9
+	add_special Function29eaf
+	add_special Function29f47
+	add_special Functionc2f6
+	add_special Functionc309
+	add_special Function1050b9
+	add_special Functionc34a
+	add_special Function4d9e5
+	add_special Function13a12
+	add_special Function13a31
+	add_special Function135db
+	add_special Functionfbb32
+	add_special Functionfbcd2
+	add_special Functionc658
+	add_special Function1559a
+	add_special Functionc2e7
+	add_special Function166d6
+	add_special Function1672a
+	add_special Function16936
+	add_special Function2c547
+	add_special Function16218
+	add_special Function8cc04
+	add_special SpecialNameRival
+	add_special Function90913
+	add_special Functionc2c0
+	add_special Functionc2cd
+	add_special Functionc355
+	add_special Functionc360
+	add_special Functionc373
+	add_special Functionc380
+	add_special Functionc38d
+	add_special Functionc3db
+	add_special Function8c084
+	add_special Function8c092
+	add_special Function8c0b6
+	add_special Function8c079
+	add_special Function8c0ab
+	add_special Functiond91
+	add_special WhiteBGMap
+	add_special UpdateTimePals
+	add_special ClearTileMap
+	add_special Function1ad2
+	add_special Functione4a
+	add_special Functionc230
+	add_special SpecialSeenMon
+	add_special WaitSFX
+	add_special PlayMapMusic
+	add_special RestartMapMusic
+	add_special Function12324
+	add_special Function8379
+	add_special Functionc25a
+	add_special Functionc268
+	add_special Functionc276
+	add_special Functionc284
+	add_special Functionc3ef
+	add_special Function17421
+	add_special Function17440
+	add_special Function139a8
+	add_special Functionc3fc
+	add_special Function26feb
+	add_special Function27043
+	add_special SpecialGiveShuckle
+	add_special SpecialReturnShuckle
+	add_special Function73f7
+	add_special SpecialCheckPokerus
+	add_special Function24b25
+	add_special Function24b4e
+	add_special Function24ae8
+	add_special Function4d87a
+	add_special Functionc434
+	add_special Functionc422
+	add_special Function4d9d3
+	add_special Function88018
+	add_special SpecialNameRater
+	add_special Functionc2da
+	add_special Function718d
+	add_special Function71ac
+	add_special Function2a4ab
+	add_special Function2a51f
+	add_special RandomPhoneMon
+	add_special Function14209
+	add_special Functionfb841
+	add_special SpecialSnorlaxAwake
+	add_special Function7413
+	add_special Function7418
+	add_special Function741d
+	add_special Functionc472
+	add_special ProfOaksPCBoot
+	add_special SpecialGameboyCheck
+	add_special SpecialTrainerHouse
+	add_special Function16dc7
+	add_special InitRoamMons
+	add_special Functionc48f
+	add_special Functionc49f
+	add_special Functionc4ac
+	add_special Function11ac3e
+	add_special Function11b444
+	add_special Function11b5e8
+	add_special Function11b7e5
+	add_special Function11b879
+	add_special Function11b920
+	add_special Function11b93b
+	add_special Function1700b0
+	add_special Function1700ba
+	add_special Function170114
+	add_special Function170215
+	add_special Function1704e1
+	add_special Function17021d
+	add_special Function170b44
+	add_special Function11ba38
+	add_special Function170bd3
+	add_special Function117656
+	add_special Reset
+	add_special Function1011f1
+	add_special Function101220
+	add_special Function101225
+	add_special Function101231
+	add_special Function4925b
+	add_special Function8adef
+	add_special Function11c1ab
+	add_special Function170687
+	add_special Function8ae68
+	add_special Function17d224
+	add_special Function17d2b6
+	add_special Function17d2ce
+	add_special Function17f53d
+	add_special Function103612
+	add_special SpecialHoOhChamber
+	add_special Function102142
+	add_special Function4989a
+	add_special Function49bf9
+	add_special SpecialPokeSeer
+	add_special SpecialBuenasPassword
+	add_special SpecialBuenaPrize
+	add_special SpecialDratini
+	add_special Function11485
+	add_special SpecialBeastsCheck
+	add_special SpecialMonCheck
+	add_special Functionc225
+	add_special Function170bd2
+	add_special Function10366e
+	add_special Function1037eb
+	add_special Function10383c
+	add_special Function1060a2
+	add_special Function14168
+	add_special Function1037c2
+	add_special Function10630f
+	add_special Function103780
+	add_special Function10387b
+	add_special Function4ae12
+	add_special Function1047eb
+	add_special Function4a927
+	add_special Function90a54
+	add_special Function90a88
+	add_special SpecialNone
 ; c224
 
 SpecialNone: ; c224
@@ -5464,7 +5464,7 @@
 
 UnknownScript_0xc7fe: ; c7fe
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 
 UnknownScript_0xc802: ; 0xc802
 	callasm GetPartyNick
@@ -5621,7 +5621,7 @@
 
 UnknownScript_0xc8e6: ; 0xc8e6
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 	writetext UnknownText_0xc8f3
 	callasm Function8c7e1
 	loadmovesprites
@@ -5720,7 +5720,7 @@
 ; c983 (3:4983)
 
 UnknownScript_0xc983: ; c983
-	special $0035
+	special UpdateTimePals
 
 UsedSurfScript: ; c986
 	writetext UsedSurfText ; "used SURF!"
@@ -5732,10 +5732,10 @@
 	copybytetovar Buffer2
 	writevarcode VAR_MOVEMENT
 
-	special SPECIAL_UPDATESPRITETILES
-	special SPECIAL_BIKESURFMUSIC
+	special Functione4a
+	special PlayMapMusic
 ; step into the water
-	special SPECIAL_LOADFACESTEP ; (slow_step_x, step_end)
+	special Function8379 ; (slow_step_x, step_end)
 	applymovement 0, MovementBuffer ; PLAYER, MovementBuffer
 	end
 ; c9a2
@@ -5954,15 +5954,15 @@
 UnknownScript_0xcaa3: ; 0xcaa3
 	reloadmappart
 	callasm HideSprites
-	special $0035
+	special UpdateTimePals
 	callasm Function8caed
 	farscall UnknownScript_0x122c1
-	special $0000
+	special Function97c28
 	callasm Function154f1
 	writecode $8, $0
 	newloadmap $fc
 	callasm Function8cb33
-	special $003b
+	special WaitSFX
 	callasm Functioncacb
 	end
 ; 0xcacb
@@ -6019,7 +6019,7 @@
 
 UnknownScript_0xcb1c: ; 0xcb1c
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 
 UnknownScript_0xcb20: ; 0xcb20
 	callasm GetPartyNick
@@ -6210,7 +6210,7 @@
 
 UnknownScript_0xcc2b: ; 0xcc2b
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 	writetext UnknownText_0xcc21
 	jump UnknownScript_0xcc3c
 ; 0xcc35
@@ -6217,7 +6217,7 @@
 
 UnknownScript_0xcc35: ; 0xcc35
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 	writetext UnknownText_0xcc1c
 
 UnknownScript_0xcc3c: ; 0xcc3c
@@ -6226,7 +6226,7 @@
 	playsound SFX_WARP_TO
 	applymovement $0, MovementData_0xcc59
 	farscall UnknownScript_0x122c1
-	special $0000
+	special Function97c28
 	writecode $8, $0
 	newloadmap $f5
 	playsound SFX_WARP_FROM
@@ -6316,7 +6316,7 @@
 
 UnknownScript_0xccbb: ; 0xccbb
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 	writetext UnknownText_0xccb1
 	pause 60
 	reloadmappart
@@ -6324,7 +6324,7 @@
 	playsound SFX_WARP_TO
 	applymovement $0, MovementData_0xcce1
 	farscall UnknownScript_0x122c1
-	special $0000
+	special Function97c28
 	writecode $8, $0
 	newloadmap $f4
 	playsound SFX_WARP_FROM
@@ -6401,7 +6401,7 @@
 
 UnknownScript_0xcd29: ; 0xcd29
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 
 UnknownScript_0xcd2d: ; 0xcd2d
 	callasm Functioncd12
@@ -6581,7 +6581,7 @@
 
 UnknownScript_0xce0b: ; 0xce0b
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 
 UnknownScript_0xce0f: ; 0xce0f
 	callasm GetPartyNick
@@ -6694,7 +6694,7 @@
 
 HeadbuttFromMenuScript: ; 0xcea7
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 
 HeadbuttScript: ; 0xceab
 	callasm GetPartyNick
@@ -6800,13 +6800,13 @@
 
 RockSmashFromMenuScript: ; 0xcf2e
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 
 RockSmashScript: ; cf32
 	callasm GetPartyNick
 	writetext UnknownText_0xcf58
 	loadmovesprites
-	special $003b
+	special WaitSFX
 	playsound SFX_STRENGTH
 	earthquake 84
 	applymovement2 MovementData_0xcf55
@@ -7051,7 +7051,7 @@
 UnknownScript_0xd07c: ; 0xd07c
 	reloadmappart
 	loadvar $ffd4, $0
-	special $0035
+	special UpdateTimePals
 	loademote $9
 	callasm Functionb84b3
 	loademote $0
@@ -7185,12 +7185,12 @@
 
 UnknownScript_0xd13e: ; 0xd13e
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 	writecode $8, $1
 	writetext UnknownText_0xd17c
 	closetext
 	loadmovesprites
-	special $0038
+	special Functione4a
 	end
 ; 0xd14e
 
@@ -7197,7 +7197,7 @@
 UnknownScript_0xd14e: ; 0xd14e
 	writecode $8, $1
 	loadmovesprites
-	special $0038
+	special Functione4a
 	end
 ; 0xd156
 
@@ -7207,7 +7207,7 @@
 
 UnknownScript_0xd158: ; 0xd158
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 	writecode $8, $0
 	writetext UnknownText_0xd181
 	closetext
@@ -7214,8 +7214,8 @@
 
 UnknownScript_0xd163:
 	loadmovesprites
-	special $0038
-	special $003c
+	special Functione4a
+	special PlayMapMusic
 	end
 ; 0xd16b
 
@@ -13026,7 +13026,7 @@
 	checkflag $0011
 	iffalse .script_122cd
 	setflag $0051
-	special $0017
+	special Function13a31
 .script_122cd
 	end
 ; 0x122ce
@@ -13357,15 +13357,15 @@
 UnknownScript_0x124ce: ; 0x124ce
 	writetext UnknownText_0x124f5
 	closetext
-	special $002e
+	special Function8c084
 	pause 40
-	special $001b
+	special Functionc658
 	checkflag $0011
 	iftrue .script_64f2
 	callasm HalveMoney
 	callasm Function12527
 	farscall UnknownScript_0x122c1
-	special $0000
+	special Function97c28
 	newloadmap $f1
 	resetfuncs
 
@@ -13532,7 +13532,7 @@
 
 UnknownScript_0x125ad: ; 0x125ad
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 	callasm Function12599
 	writetext UnknownText_0x125c3
 	loadmovesprites
@@ -13541,7 +13541,7 @@
 
 UnknownScript_0x125ba: ; 0x125ba
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 	writetext UnknownText_0x125c8
 	loadmovesprites
 	end
@@ -29740,7 +29740,7 @@
 	loadfont
 	writetext UnknownText_0x26f9b
 	closetext
-	special $0026
+	special Functionc2c0
 	loadmovesprites
 	end
 ; 0x26f9b
@@ -50057,7 +50057,7 @@
 
 UnknownScript_0x506c8: ; 0x506c8
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 	callasm GetPartyNick
 	writetext UnknownText_0x50726
 	closetext
@@ -50134,7 +50134,7 @@
 
 UnknownScript_0x5073c: ; 0x5073c
 	reloadmappart
-	special $0035
+	special UpdateTimePals
 	callasm Function50753
 	iffalse UnknownScript_0x5074b
 	farjump WateredWeirdTreeScript
@@ -50302,15 +50302,15 @@
 ; 50821
 
 UnknownScript_0x50821: ; 0x50821
-	special $001b
+	special Functionc658
 	reloadmappart
 	playsound SFX_WARP_TO
-	special $002e
-	special $0031
-	special $002e
-	special $0031
-	special $002e
-	special $0031
+	special Function8c084
+	special Function8c079
+	special Function8c084
+	special Function8c079
+	special Function8c084
+	special Function8c079
 	waitbutton
 	writetext UnknownText_0x50845
 	playsound SFX_CAUGHT_MON
--- a/maps/AzaleaTown.asm
+++ b/maps/AzaleaTown.asm
@@ -36,7 +36,7 @@
 	moveperson $b, $b, $b
 	spriteface $0, $3
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	appear $b
 	applymovement $b, MovementData_0x198134
@@ -47,7 +47,7 @@
 UnknownScript_0x198034: ; 0x198034
 	spriteface $0, $3
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	appear $b
 	applymovement $b, MovementData_0x19813c
--- a/maps/BattleTower1F.asm
+++ b/maps/BattleTower1F.asm
@@ -12,10 +12,10 @@
 
 UnknownScript_0x9e39d: ; 0x9e39d
 	writebyte $9
-	special $0086
+	special Function170687
 	iffalse UnknownScript_0x9e3d1
 	writebyte $2
-	special $0086
+	special Function170687
 	if_equal $0, UnknownScript_0x9e3d1
 	if_equal $2, UnknownScript_0x9e3c4
 	if_equal $3, UnknownScript_0x9e3d1
@@ -34,9 +34,9 @@
 
 UnknownScript_0x9e3c7: ; 0x9e3c7
 	writebyte $4
-	special $0086
+	special Function170687
 	writebyte $6
-	special $0086
+	special Function170687
 UnknownScript_0x9e3d1: ; 0x9e3d1
 	dotrigger $1
 UnknownScript_0x9e3d3: ; 0x9e3d3
@@ -57,13 +57,13 @@
 
 ReceptionistScript_0x9e3e2: ; 0x9e3e2
 	writebyte $2
-	special $0086
+	special Function170687
 	if_equal $3, BattleTowerBattleRoomScript_0x9f4e4
 	loadfont
 	writetext UnknownText_0x9e5ab
 	keeptextopen
 	writebyte $0
-	special $0086
+	special Function170687
 	if_not_equal $0, UnknownScript_0x9e3fc
 	jump UnknownScript_0x9e49e
 ; 0x9e3fc
@@ -71,7 +71,7 @@
 UnknownScript_0x9e3fc: ; 0x9e3fc
 	writetext UnknownText_0x9e5ea
 	writebyte $1
-	special $0088
+	special Function17d224
 	if_equal $1, UnknownScript_0x9e40f
 	if_equal $2, UnknownScript_0x9e4a5
 	jump UnknownScript_0x9e4b0
@@ -79,28 +79,28 @@
 
 UnknownScript_0x9e40f: ; 0x9e40f
 	writebyte $1a
-	special $0086
-	special $007c
+	special Function170687
+	special Function170bd3
 	if_not_equal $0, UnknownScript_0x9e4bb
 	writetext UnknownText_0x9ef1f
 	yesorno
 	iffalse UnknownScript_0x9e3fc
 	dotrigger $0
-	special $0004
+	special Function29e66
 	iffalse UnknownScript_0x9e3fc
 	dotrigger $1
 	writebyte $1
-	special $0086
-	special $0074
+	special Function170687
+	special Function1700b0
 	if_equal $a, UnknownScript_0x9e3fc
 	if_not_equal $0, UnknownScript_0x9e550
 	writebyte $11
-	special $0086
+	special Function170687
 	writetext UnknownText_0x9e60a
 	closetext
 	loadmovesprites
 	writebyte $1e
-	special $0086
+	special Function170687
 	jump UnknownScript_0x9e454
 ; 0x9e44e
 
@@ -107,7 +107,7 @@
 UnknownScript_0x9e44e: ; 0x9e44e
 	loadmovesprites
 	writebyte $8
-	special $0086
+	special Function170687
 UnknownScript_0x9e454: ; 0x9e454
 	musicfadeout $0000, $8
 	domaptrigger GROUP_BATTLE_TOWER_BATTLE_ROOM, MAP_BATTLE_TOWER_BATTLE_ROOM, $0
@@ -116,7 +116,7 @@
 	follow $2, $0
 	applymovement $2, MovementData_0x9e571
 	writebyte $a
-	special $0086
+	special Function170687
 	warpsound
 	disappear $2
 	stopfollow
@@ -127,15 +127,15 @@
 
 UnknownScript_0x9e47a: ; 0x9e47a
 	writebyte $1c
-	special $0086
+	special Function170687
 	writebyte $1b
-	special $0086
+	special Function170687
 	if_equal $12, UnknownScript_0x9e498
 	itemtotext $0, $1
 	giveitem $ff, $5
 	writetext UnknownText_0x9eb7e
 	writebyte $1d
-	special $0086
+	special Function170687
 	loadmovesprites
 	end
 ; 0x9e498
@@ -155,7 +155,7 @@
 	writetext UnknownText_0x9e886
 UnknownScript_0x9e4a8: ; 0x9e4a8
 	writebyte $1
-	special $0086
+	special Function170687
 	jump UnknownScript_0x9e3fc
 ; 0x9e4b0
 
@@ -167,7 +167,7 @@
 ; 0x9e4b6
 
 UnknownScript_0x9e4b6: ; 0x9e4b6
-	special $008b
+	special Function17f53d
 	loadmovesprites
 	end
 ; 0x9e4bb
@@ -183,11 +183,11 @@
 	writetext UnknownText_0x9ef1f
 	yesorno
 	iffalse UnknownScript_0x9e3fc
-	special $0004
+	special Function29e66
 	iffalse UnknownScript_0x9e3fc
 	writebyte $1
-	special $0086
-	special $0075
+	special Function170687
+	special Function1700ba
 	if_equal $a, UnknownScript_0x9e3fc
 	if_not_equal $0, UnknownScript_0x9e550
 	writetext UnknownText_0x9e9eb
@@ -201,15 +201,15 @@
 
 UnknownScript_0x9e4ea: ; 0x9e4ea
 	writebyte $18
-	special $0086
+	special Function170687
 	if_not_equal $0, UnknownScript_0x9e542
 	writebyte $19
-	special $0086
+	special Function170687
 	if_not_equal $0, UnknownScript_0x9e549
-	special $007c
+	special Function170bd3
 	if_not_equal $0, UnknownScript_0x9e4bb
 	writebyte $5
-	special $0086
+	special Function170687
 	if_equal $0, UnknownScript_0x9e512
 	writetext UnknownText_0x9ecb0
 	jump UnknownScript_0x9e515
@@ -224,13 +224,13 @@
 	yesorno
 	iffalse UnknownScript_0x9e3fc
 	dotrigger $0
-	special $0004
+	special Function29e66
 	iffalse UnknownScript_0x9e3fc
 	dotrigger $1
 	writebyte $6
-	special $0086
+	special Function170687
 	writebyte $12
-	special $0086
+	special Function170687
 	writetext UnknownText_0x9e60a
 	closetext
 	jump UnknownScript_0x9e44e
@@ -255,7 +255,7 @@
 ; 0x9e550
 
 UnknownScript_0x9e550: ; 0x9e550
-	special $008b
+	special Function17f53d
 	loadmovesprites
 	end
 ; 0x9e555
--- a/maps/BattleTowerBattleRoom.asm
+++ b/maps/BattleTowerBattleRoom.asm
@@ -24,7 +24,7 @@
 	applymovement $0, MovementData_0x9e58c
 UnknownScript_0x9f425: ; 0x9f425
 	writebyte $2
-	special $007a
+	special Function170b44
 	appear $2
 	warpsound
 	waitbutton
@@ -33,8 +33,8 @@
 	storetext 1
 	keeptextopen
 	loadmovesprites
-	special $0077
-	special $002e
+	special Function170215
+	special Function8c084
 	reloadmap
 	if_not_equal $0, UnknownScript_0x9f4c2
 	copybytetovar wcf64
@@ -49,11 +49,11 @@
 	closetext
 	loadmovesprites
 	playmusic MUSIC_HEAL
-	special $002e
-	special $00a4
+	special Function8c084
+	special Function1047eb
 	pause 60
-	special $0031
-	special $003d
+	special Function8c079
+	special RestartMapMusic
 	loadfont
 	writetext UnknownText_0x9eebc
 	yesorno
@@ -70,25 +70,25 @@
 	yesorno
 	iffalse UnknownScript_0x9f4a3
 	writebyte $7
-	special $0086
+	special Function170687
 	writebyte $1f
-	special $0086
+	special Function170687
 	writebyte $3
-	special $0086
+	special Function170687
 	playsound SFX_SAVE
 	waitbutton
-	special $002e
-	special $007e
+	special Function8c084
+	special Reset
 UnknownScript_0x9f4a3: ; 0x9f4a3
 	writetext UnknownText_0x9efbf
 	yesorno
 	iffalse UnknownScript_0x9f477
 	writebyte $4
-	special $0086
+	special Function170687
 	writebyte $6
-	special $0086
+	special Function170687
 	loadmovesprites
-	special $002e
+	special Function8c084
 	warpfacing $1, GROUP_BATTLE_TOWER_1F, MAP_BATTLE_TOWER_1F, $7, $7
 	loadfont
 	jump UnknownScript_0x9e4b0
@@ -96,10 +96,10 @@
 
 UnknownScript_0x9f4c2: ; 0x9f4c2
 	pause 60
-	special $002f
+	special Function8c092
 	warpfacing $1, GROUP_BATTLE_TOWER_1F, MAP_BATTLE_TOWER_1F, $7, $7
 	writebyte $4
-	special $0086
+	special Function170687
 	loadfont
 	writetext UnknownText_0x9ea49
 	closetext
@@ -109,7 +109,7 @@
 
 UnknownScript_0x9f4d9: ; 0x9f4d9
 	pause 60
-	special $002f
+	special Function8c092
 	warpfacing $1, GROUP_BATTLE_TOWER_1F, MAP_BATTLE_TOWER_1F, $7, $7
 BattleTowerBattleRoomScript_0x9f4e4: ; 0x9f4e4
 	loadfont
@@ -119,7 +119,7 @@
 
 UnknownScript_0x9f4eb: ; 0x9f4eb
 	writebyte $4
-	special $0086
+	special Function170687
 	loadfont
 	writetext UnknownText_0x9f0c1
 	closetext
@@ -129,9 +129,9 @@
 
 UnknownScript_0x9f4f7: ; 0x9f4f7
 	writebyte $4
-	special $0086
+	special Function170687
 	writebyte $6
-	special $0086
+	special Function170687
 	loadfont
 	writetext UnknownText_0x9ea49
 	writetext UnknownText_0x9ec09
--- a/maps/BattleTowerElevator.asm
+++ b/maps/BattleTowerElevator.asm
@@ -24,7 +24,7 @@
 	applymovement $2, MovementData_0x9f58f
 	applymovement $0, MovementData_0x9f592
 	writebyte $a
-	special $0086
+	special Function170687
 	playsound SFX_ELEVATOR
 	earthquake 60
 	waitbutton
--- a/maps/BillsHouse.asm
+++ b/maps/BillsHouse.asm
@@ -35,7 +35,7 @@
 	yesorno
 	iffalse UnknownScript_0x1896aa
 	scall UnknownScript_0x1896a5
-	special $004d
+	special Function73f7
 	iffalse UnknownScript_0x1896aa
 	if_not_equal LICKITUNG, UnknownScript_0x1896c6
 	scall UnknownScript_0x1896b0
@@ -50,7 +50,7 @@
 	yesorno
 	iffalse UnknownScript_0x1896aa
 	scall UnknownScript_0x1896a5
-	special $004d
+	special Function73f7
 	iffalse UnknownScript_0x1896aa
 	if_not_equal ODDISH, UnknownScript_0x1896c6
 	scall UnknownScript_0x1896b0
@@ -65,7 +65,7 @@
 	yesorno
 	iffalse UnknownScript_0x1896aa
 	scall UnknownScript_0x1896a5
-	special $004d
+	special Function73f7
 	iffalse UnknownScript_0x1896aa
 	if_not_equal STARYU, UnknownScript_0x1896c6
 	scall UnknownScript_0x1896b0
@@ -82,7 +82,7 @@
 	yesorno
 	iffalse UnknownScript_0x1896aa
 	scall UnknownScript_0x1896a5
-	special $004d
+	special Function73f7
 	iffalse UnknownScript_0x1896aa
 	if_not_equal GROWLITHE, UnknownScript_0x1896c6
 	scall UnknownScript_0x1896b0
@@ -97,7 +97,7 @@
 	yesorno
 	iffalse UnknownScript_0x1896aa
 	scall UnknownScript_0x1896a5
-	special $004d
+	special Function73f7
 	iffalse UnknownScript_0x1896aa
 	if_not_equal VULPIX, UnknownScript_0x1896c6
 	scall UnknownScript_0x1896b0
@@ -112,7 +112,7 @@
 	yesorno
 	iffalse UnknownScript_0x1896aa
 	scall UnknownScript_0x1896a5
-	special $004d
+	special Function73f7
 	iffalse UnknownScript_0x1896aa
 	if_not_equal PICHU, UnknownScript_0x1896c6
 	scall UnknownScript_0x1896b0
--- a/maps/BluesHouse.asm
+++ b/maps/BluesHouse.asm
@@ -25,7 +25,7 @@
 	iffalse UnknownScript_0x19b124
 	writetext UnknownText_0x19b244
 	closetext
-	special $0063
+	special Function741d
 	if_equal $0, UnknownScript_0x19b124
 	if_equal $1, UnknownScript_0x19b12a
 	setflag $005c
@@ -32,14 +32,14 @@
 	writetext UnknownText_0x19b266
 	closetext
 	loadmovesprites
-	special $002e
+	special Function8c084
 	playmusic MUSIC_HEAL
 	pause 60
-	special $0031
-	special $003d
+	special Function8c079
+	special RestartMapMusic
 	loadfont
 	writetext UnknownText_0x19b296
-	special $0064
+	special Functionc472
 	keeptextopen
 	writetext UnknownText_0x19b2aa
 	closetext
--- a/maps/BurnedTower1F.asm
+++ b/maps/BurnedTower1F.asm
@@ -55,7 +55,7 @@
 
 UnknownScript_0x185c25: ; 0x185c25
 	showemote $0, $4, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	spriteface $4, $3
 	pause 15
@@ -107,7 +107,7 @@
 	loadmovesprites
 	dotrigger $2
 	setevent $06c5
-	special $006a
+	special Functionc48f
 	pause 15
 	earthquake 50
 	showemote $0, $0, 15
--- a/maps/BurnedTowerB1F.asm
+++ b/maps/BurnedTowerB1F.asm
@@ -78,10 +78,10 @@
 	spriteface $0, $0
 	disappear $5
 	waitbutton
-	special $003d
+	special RestartMapMusic
 	dotrigger $1
 	setevent EVENT_RELEASED_THE_BEASTS
-	special $0069
+	special InitRoamMons
 	domaptrigger GROUP_ECRUTEAK_GYM, MAP_ECRUTEAK_GYM, $1
 	domaptrigger GROUP_CIANWOOD_CITY, MAP_CIANWOOD_CITY, $1
 	clearevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
--- a/maps/CeladonDeptStore6F.asm
+++ b/maps/CeladonDeptStore6F.asm
@@ -27,7 +27,7 @@
 	loadfont
 	writetext UnknownText_0x71250
 UnknownScript_0x71184: ; 0x71184
-	special $0051
+	special Function24ae8
 	loadmenudata MenuDataHeader_0x71203
 	interpretmenu2
 	writebackup
--- a/maps/CeladonGameCorner.asm
+++ b/maps/CeladonGameCorner.asm
@@ -119,7 +119,7 @@
 	if_equal $0, MapCeladonGameCornerSignpost16Script
 	refreshscreen $0
 	writebyte $0
-	special $002a
+	special Functionc373
 	loadmovesprites
 	end
 ; 0x721b0
@@ -127,7 +127,7 @@
 MapCeladonGameCornerSignpost16Script: ; 0x721b0
 	refreshscreen $0
 	writebyte $1
-	special $002a
+	special Functionc373
 	loadmovesprites
 	end
 ; 0x721b9
@@ -134,7 +134,7 @@
 
 MapCeladonGameCornerSignpost11Script: ; 0x721b9
 	refreshscreen $0
-	special $002b
+	special Functionc380
 	loadmovesprites
 	end
 ; 0x721c0
@@ -147,7 +147,7 @@
 	loadfont
 	writetext UnknownText_0x72567
 	closetext
-	special $002b
+	special Functionc380
 	loadmovesprites
 	end
 ; 0x721cd
--- a/maps/CeladonGameCornerPrizeRoom.asm
+++ b/maps/CeladonGameCornerPrizeRoom.asm
@@ -23,7 +23,7 @@
 	iffalse UnknownScript_0x7278a
 	writetext UnknownText_0x72974
 UnknownScript_0x726fd: ; 0x726fd
-	special $004f
+	special Function24b25
 	loadmenudata MenuDataHeader_0x72790
 	interpretmenu2
 	writebackup
@@ -139,7 +139,7 @@
 	iffalse UnknownScript_0x7278a
 UnknownScript_0x727d3: ; 0x727d3
 	writetext UnknownText_0x72974
-	special $004f
+	special Function24b25
 	loadmenudata MenuDataHeader_0x72877
 	interpretmenu2
 	writebackup
@@ -162,7 +162,7 @@
 	writetext UnknownText_0x729ad
 	closetext
 	writebyte PIKACHU
-	special $0039
+	special Functionc230
 	givepoke PIKACHU, 25, 0, 0
 	takecoins 2222
 	jump UnknownScript_0x727d3
@@ -181,7 +181,7 @@
 	writetext UnknownText_0x729ad
 	closetext
 	writebyte PORYGON
-	special $0039
+	special Functionc230
 	givepoke PORYGON, 15, 0, 0
 	takecoins 5555
 	jump UnknownScript_0x727d3
@@ -200,7 +200,7 @@
 	writetext UnknownText_0x729ad
 	closetext
 	writebyte LARVITAR
-	special $0039
+	special Functionc230
 	givepoke LARVITAR, 40, 0, 0
 	takecoins 8888
 	jump UnknownScript_0x727d3
--- a/maps/CeladonMansion3F.asm
+++ b/maps/CeladonMansion3F.asm
@@ -24,7 +24,7 @@
 	waitbutton
 	writetext UnknownText_0x71760
 	keeptextopen
-	special $006b
+	special Functionc49f
 	writetext UnknownText_0x71763
 	closetext
 	loadmovesprites
@@ -47,7 +47,7 @@
 	writetext UnknownText_0x717d8
 	yesorno
 	iffalse UnknownScript_0x716b0
-	special $006c
+	special Functionc4ac
 	loadmovesprites
 	end
 ; 0x716b0
--- a/maps/CeladonPokeCenter1F.asm
+++ b/maps/CeladonPokeCenter1F.asm
@@ -28,9 +28,9 @@
 	writetext UnknownText_0x71f22
 	keeptextopen
 	writebyte SUICUNE
-	special $0097
+	special SpecialMonCheck
 	iffalse UnknownScript_0x71e46
-	special $0096
+	special SpecialBeastsCheck
 	iftrue UnknownScript_0x71e48
 	writetext UnknownText_0x7201a
 	closetext
--- a/maps/CeruleanGym.asm
+++ b/maps/CeruleanGym.asm
@@ -49,7 +49,7 @@
 	domaptrigger GROUP_ROUTE_25, MAP_ROUTE_25, $1
 	domaptrigger GROUP_POWER_PLANT, MAP_POWER_PLANT, $0
 	waitbutton
-	special $003d
+	special RestartMapMusic
 	pause 15
 	spriteface $0, $0
 	pause 15
--- a/maps/CeruleanPokeCenter1F.asm
+++ b/maps/CeruleanPokeCenter1F.asm
@@ -11,7 +11,7 @@
 ; 0x188212
 
 SuperNerdScript_0x188212: ; 0x188212
-	special $00a0
+	special Function10630f
 	iftrue UnknownScript_0x18821b
 	jumptextfaceplayer UnknownText_0x188221
 ; 0x18821b
--- a/maps/CherrygroveCity.asm
+++ b/maps/CherrygroveCity.asm
@@ -82,7 +82,7 @@
 	closetext
 	loadmovesprites
 	stopfollow
-	special $003d
+	special RestartMapMusic
 	spriteface $0, $1
 	applymovement $2, MovementData_0x19c1cb
 	playsound SFX_ENTER_DOOR
@@ -113,7 +113,7 @@
 UnknownScript_0x19c0ae: ; 0x19c0ae
 	spriteface $0, $3
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	appear $3
 	applymovement $3, MovementData_0x19c1ce
@@ -184,7 +184,7 @@
 	applymovement $3, MovementData_0x19c1da
 	disappear $3
 	dotrigger $0
-	special $001b
+	special Functionc658
 	playmapmusic
 	end
 ; 0x19c146
--- a/maps/CianwoodCity.asm
+++ b/maps/CianwoodCity.asm
@@ -71,7 +71,7 @@
 	applymovement $c, MovementData_0x1a00ec
 	disappear $c
 	pause 20
-	special $006a
+	special Functionc48f
 	playmapmusic
 	pause 10
 UnknownScript_0x1a0083: ; 0x1a0083
--- a/maps/CianwoodCityPhotoStudio.asm
+++ b/maps/CianwoodCityPhotoStudio.asm
@@ -14,7 +14,7 @@
 	iffalse UnknownScript_0x9e0f3
 	writetext UnknownText_0x9e142
 	closetext
-	special $0068
+	special Function16dc7
 	closetext
 	loadmovesprites
 	end
--- a/maps/Colosseum.asm
+++ b/maps/Colosseum.asm
@@ -31,7 +31,7 @@
 ; 0x193477
 
 UnknownScript_0x193477: ; 0x193477
-	special $0010
+	special Function29f47
 	iffalse UnknownScript_0x193482
 	disappear $3
 	appear $2
@@ -56,7 +56,7 @@
 ; 0x193493
 
 MapColosseumSignpost1Script: ; 0x193493
-	special $000e
+	special Function29ed9
 	newloadmap $f8
 	end
 ; 0x193499
--- a/maps/CopycatsHouse2F.asm
+++ b/maps/CopycatsHouse2F.asm
@@ -46,7 +46,7 @@
 	faceplayer
 	variablesprite $b, $60
 UnknownScript_0x18aedc: ; 0x18aedc
-	special $005e
+	special Function14209
 	checkevent EVENT_RETURNED_MACHINE_PART
 	iftrue UnknownScript_0x18af16
 	loadfont
@@ -72,7 +72,7 @@
 UnknownScript_0x18af08: ; 0x18af08
 	faceplayer
 	variablesprite $b, $28
-	special $005e
+	special Function14209
 	loadfont
 	writetext UnknownText_0x18b028
 	closetext
@@ -104,7 +104,7 @@
 UnknownScript_0x18af39: ; 0x18af39
 	faceplayer
 	variablesprite $b, $28
-	special $005e
+	special Function14209
 	loadfont
 	writetext UnknownText_0x18b116
 	closetext
@@ -151,7 +151,7 @@
 	faceplayer
 	variablesprite $b, $60
 UnknownScript_0x18af88: ; 0x18af88
-	special $005e
+	special Function14209
 	loadfont
 	checkflag $0063
 	iftrue UnknownScript_0x18af98
@@ -175,7 +175,7 @@
 UnknownScript_0x18afae: ; 0x18afae
 	faceplayer
 	variablesprite $b, $28
-	special $005e
+	special Function14209
 	loadfont
 	writetext UnknownText_0x18b2f5
 	closetext
--- a/maps/DayCare.asm
+++ b/maps/DayCare.asm
@@ -34,7 +34,7 @@
 	loadmovesprites
 	checkcode $1
 	if_equal $6, UnknownScript_0x62fb6
-	special $007d
+	special Function117656
 	loadfont
 	writetext UnknownText_0x631ae
 	playsound SFX_KEY_ITEM
@@ -55,7 +55,7 @@
 ; 0x62fbd
 
 UnknownScript_0x62fbd: ; 0x62fbd
-	special $001e
+	special Function166d6
 	closetext
 	loadmovesprites
 	end
@@ -66,7 +66,7 @@
 	loadfont
 	checkflag $0005
 	iftrue UnknownScript_0x62fd1
-	special $001f
+	special Function1672a
 	closetext
 	loadmovesprites
 	end
--- a/maps/DragonShrine.asm
+++ b/maps/DragonShrine.asm
@@ -134,7 +134,7 @@
 	writetext UnknownText_0x18d916
 	closetext
 	loadmovesprites
-	special $006a
+	special Functionc48f
 	applymovement $5, MovementData_0x18d2da
 	loadfont
 	writetext UnknownText_0x18d974
@@ -163,7 +163,7 @@
 	setflag $0022
 	playsound SFX_GET_BADGE
 	waitbutton
-	special $003d
+	special RestartMapMusic
 	specialphonecall $8
 	dotrigger $1
 	domaptrigger GROUP_DRAGONS_DEN_B1F, MAP_DRAGONS_DEN_B1F, $1
@@ -219,7 +219,7 @@
 	waitbutton
 	givepoke DRATINI, 15, 0, 0
 	checkevent $00c1
-	special $0094
+	special SpecialDratini
 	setevent $00bd
 	setevent $0006
 	writetext UnknownText_0x18d6ca
--- a/maps/DragonsDenB1F.asm
+++ b/maps/DragonsDenB1F.asm
@@ -77,9 +77,9 @@
 	loadmovesprites
 UnknownScript_0x18c8f9: ; 0x18c8f9
 	applymovement $3, MovementData_0x18c9b3
-	special $006a
+	special Functionc48f
 	pause 30
-	special $003d
+	special RestartMapMusic
 	disappear $3
 	dotrigger $0
 	end
@@ -236,7 +236,7 @@
 	closetext
 	loadmovesprites
 	setevent $0000
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x18c995
 
@@ -244,7 +244,7 @@
 	writetext UnknownText_0x18cd2d
 	closetext
 	loadmovesprites
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x18c99e
 
--- a/maps/EcruteakGym.asm
+++ b/maps/EcruteakGym.asm
@@ -92,7 +92,7 @@
 	follow $0, $8
 	applymovement $0, MovementData_0x99e5f
 	stopfollow
-	special $002e
+	special Function8c084
 	playsound SFX_ENTER_DOOR
 	waitbutton
 	warp GROUP_ECRUTEAK_CITY, MAP_ECRUTEAK_CITY, $6, $1b
--- a/maps/EcruteakPokeCenter1F.asm
+++ b/maps/EcruteakPokeCenter1F.asm
@@ -62,7 +62,7 @@
 ; 0x98eb3
 
 PokefanMScript_0x98eb3: ; 0x98eb3
-	special $00a0
+	special Function10630f
 	iftrue UnknownScript_0x98ebc
 	jumptextfaceplayer UnknownText_0x99155
 ; 0x98ebc
--- a/maps/ElmsLab.asm
+++ b/maps/ElmsLab.asm
@@ -115,10 +115,10 @@
 	checkevent EVENT_TOLD_ELM_ABOUT_TOGEPI_OVER_THE_PHONE
 	iffalse UnknownScript_0x78c35
 	writebyte TOGEPI
-	special $0043
+	special Functionc284
 	iftrue ShowElmTogepiScript
 	writebyte TOGETIC
-	special $0043
+	special Functionc284
 	iftrue ShowElmTogepiScript
 	writetext UnknownText_0x79a40
 	closetext
@@ -128,10 +128,10 @@
 
 UnknownScript_0x78c22: ; 0x78c22
 	writebyte TOGEPI
-	special $0043
+	special Functionc284
 	iftrue ShowElmTogepiScript
 	writebyte TOGETIC
-	special $0043
+	special Functionc284
 	iftrue ShowElmTogepiScript
 	jump UnknownScript_0x78c41
 ; 0x78c35
@@ -328,13 +328,13 @@
 ; 0x78d8a
 
 UnknownScript_0x78d8a: ; 0x78d8a
-	special $009d
-	special $001b
+	special Function1060a2
+	special Functionc658
 	playmusic MUSIC_NONE
 	writebyte $1
-	special $003e
+	special Function12324
 	pause 30
-	special $003d
+	special RestartMapMusic
 	loadmovesprites
 	end
 ; 0x78d9f
@@ -604,7 +604,7 @@
 	loadfont
 	writetext UnknownText_0x7a0f0
 	keeptextopen
-	special $0024
+	special SpecialNameRival
 	writetext UnknownText_0x7a1c0
 	closetext
 	loadmovesprites
--- a/maps/FastShip1F.asm
+++ b/maps/FastShip1F.asm
@@ -72,7 +72,7 @@
 	loadmovesprites
 	scall UnknownScript_0x751b8
 	playsound SFX_EXIT_BUILDING
-	special $002e
+	special Function8c084
 	waitbutton
 	setevent $072b
 	domaptrigger GROUP_VERMILION_PORT, MAP_VERMILION_PORT, $1
@@ -86,7 +86,7 @@
 	loadmovesprites
 	scall UnknownScript_0x751b8
 	playsound SFX_EXIT_BUILDING
-	special $002e
+	special Function8c084
 	waitbutton
 	setevent $072a
 	domaptrigger GROUP_OLIVINE_PORT, MAP_OLIVINE_PORT, $1
--- a/maps/FastShipCabins.asm
+++ b/maps/FastShipCabins.asm
@@ -39,8 +39,8 @@
 	writetext UnknownText_0x7621f
 	closetext
 	loadmovesprites
-	special $0030
-	special $0033
+	special Function8c0b6
+	special Functiond91
 	disappear $5
 	applymovement $0, MovementData_0x76004
 	moveperson $4, $3, $13
@@ -47,7 +47,7 @@
 	appear $4
 	spriteface $0, $1
 	spriteface $4, $1
-	special $0032
+	special Function8c0ab
 	spriteface $3, $0
 	showemote $0, $3, 15
 	applymovement $4, MovementData_0x7600c
--- a/maps/FastShipCabins_NNW_NNE_NE.asm
+++ b/maps/FastShipCabins_NNW_NNE_NE.asm
@@ -191,7 +191,7 @@
 	loadtrainer SAILOR, STANLY
 	startbattle
 	reloadmap
-	special $001b
+	special Functionc658
 	setevent $057d
 	loadfont
 	writetext UnknownText_0x758b1
--- a/maps/FastShipCabins_SE_SSE_CaptainsCabin.asm
+++ b/maps/FastShipCabins_SE_SSE_CaptainsCabin.asm
@@ -39,8 +39,8 @@
 	writetext UnknownText_0x7621f
 	closetext
 	loadmovesprites
-	special $0030
-	special $0033
+	special Function8c0b6
+	special Functiond91
 	disappear $5
 	applymovement $0, MovementData_0x76004
 	moveperson $4, $3, $13
@@ -47,7 +47,7 @@
 	appear $4
 	spriteface $0, $1
 	spriteface $4, $1
-	special $0032
+	special Function8c0ab
 	spriteface $3, $0
 	showemote $0, $3, 15
 	applymovement $4, MovementData_0x7600c
--- a/maps/FastShipCabins_SW_SSW_NW.asm
+++ b/maps/FastShipCabins_SW_SSW_NW.asm
@@ -115,7 +115,7 @@
 
 GuitaristClydeScript: ; 0x75a97
 	talkaftercancel
-	special $00a0
+	special Function10630f
 	iftrue UnknownScript_0x75aa5
 	loadfont
 	writetext UnknownText_0x75d65
@@ -137,14 +137,14 @@
 	writetext UnknownText_0x75da4
 	closetext
 	loadmovesprites
-	special $0030
-	special $0033
-	special $009d
-	special $001b
+	special Function8c0b6
+	special Functiond91
+	special Function1060a2
+	special Functionc658
 	playmusic MUSIC_HEAL
 	pause 60
-	special $003d
-	special $0032
+	special RestartMapMusic
+	special Function8c0ab
 	loadfont
 	writetext UnknownText_0x75dc1
 	closetext
--- a/maps/FuchsiaGym.asm
+++ b/maps/FuchsiaGym.asm
@@ -28,7 +28,7 @@
 	variablesprite $8, $28
 	variablesprite $9, $28
 	variablesprite $a, $27
-	special $005e
+	special Function14209
 	loadfont
 	writetext UnknownText_0x195feb
 	playsound SFX_GET_BADGE
@@ -61,7 +61,7 @@
 	applymovement $3, MovementData_0x195f27
 	faceplayer
 	variablesprite $7, $28
-	special $005e
+	special Function14209
 UnknownScript_0x195e2c: ; 0x195e2c
 	faceplayer
 	loadfont
@@ -98,7 +98,7 @@
 	applymovement $4, MovementData_0x195f27
 	faceplayer
 	variablesprite $8, $28
-	special $005e
+	special Function14209
 UnknownScript_0x195e66: ; 0x195e66
 	faceplayer
 	loadfont
@@ -135,7 +135,7 @@
 	applymovement $5, MovementData_0x195f27
 	faceplayer
 	variablesprite $9, $28
-	special $005e
+	special Function14209
 UnknownScript_0x195ea0: ; 0x195ea0
 	faceplayer
 	loadfont
@@ -172,7 +172,7 @@
 	applymovement $6, MovementData_0x195f27
 	faceplayer
 	variablesprite $a, $27
-	special $005e
+	special Function14209
 UnknownScript_0x195eda: ; 0x195eda
 	faceplayer
 	loadfont
--- a/maps/FuchsiaPokeCenter1F.asm
+++ b/maps/FuchsiaPokeCenter1F.asm
@@ -34,7 +34,7 @@
 	applymovement $5, MovementData_0x196486
 	faceplayer
 	variablesprite $c, $a
-	special $005e
+	special Function14209
 	loadfont
 	writetext UnknownText_0x19654e
 	closetext
@@ -42,7 +42,7 @@
 	applymovement $5, MovementData_0x196486
 	faceplayer
 	variablesprite $c, $28
-	special $005e
+	special Function14209
 	end
 ; 0x196486
 
--- a/maps/GoldenrodCity.asm
+++ b/maps/GoldenrodCity.asm
@@ -49,7 +49,7 @@
 	writetext UnknownText_0x199042
 	yesorno
 	iffalse UnknownScript_0x19899a
-	special $004f
+	special Function24b25
 	writetext UnknownText_0x199090
 	yesorno
 	iffalse UnknownScript_0x1989a0
@@ -68,7 +68,7 @@
 UnknownScript_0x19893a: ; 0x19893a
 	writebyte $1
 	writetext UnknownText_0x1991cf
-	special $0083
+	special Function4925b
 	if_equal $0, UnknownScript_0x1989a6
 	jump UnknownScript_0x1989d7
 ; 0x198949
@@ -76,7 +76,7 @@
 UnknownScript_0x198949: ; 0x198949
 	writebyte $2
 	writetext UnknownText_0x1991cf
-	special $0083
+	special Function4925b
 	if_equal $0, UnknownScript_0x1989a6
 	jump UnknownScript_0x1989d7
 ; 0x198958
@@ -84,7 +84,7 @@
 UnknownScript_0x198958: ; 0x198958
 	writebyte $3
 	writetext UnknownText_0x1991cf
-	special $0083
+	special Function4925b
 	if_equal $0, UnknownScript_0x1989a6
 	jump UnknownScript_0x1989d7
 ; 0x198967
@@ -128,7 +128,7 @@
 	takecoins 4000
 	waitbutton
 	playsound SFX_TRANSACTION
-	special $004f
+	special Function24b25
 	writetext UnknownText_0x19918b
 	closetext
 	loadmovesprites
--- a/maps/GoldenrodDeptStore5F.asm
+++ b/maps/GoldenrodDeptStore5F.asm
@@ -69,7 +69,7 @@
 	if_not_equal SUNDAY, UnknownScript_0x56112
 	checkflag $005b
 	iftrue UnknownScript_0x56112
-	special $0059
+	special Function718d
 	writetext UnknownText_0x56143
 	keeptextopen
 	if_greater_than $95, UnknownScript_0x560ee
@@ -115,12 +115,12 @@
 TwinScript_0x56118: ; 0x56118
 	faceplayer
 	loadfont
-	special $0066
+	special SpecialGameboyCheck
 	if_not_equal $2, UnknownScript_0x5612a
 	writetext UnknownText_0x56241
 	closetext
 	loadmovesprites
-	special $0013
+	special Function1050b9
 	end
 ; 0x5612a
 
--- a/maps/GoldenrodDeptStore6F.asm
+++ b/maps/GoldenrodDeptStore6F.asm
@@ -10,7 +10,7 @@
 	loadfont
 	writetext UnknownText_0x564cb
 UnknownScript_0x563f9: ; 0x563f9
-	special $0051
+	special Function24ae8
 	loadmenudata MenuDataHeader_0x56478
 	interpretmenu2
 	writebackup
--- a/maps/GoldenrodGameCorner.asm
+++ b/maps/GoldenrodGameCorner.asm
@@ -54,7 +54,7 @@
 	iffalse UnknownScript_0x56cc3
 	writetext UnknownText_0x56e8b
 UnknownScript_0x56c36: ; 056c36
-	special $004f
+	special Function24b25
 	loadmenudata MenuDataHeader_0x56cc9
 	interpretmenu2
 	writebackup
@@ -170,7 +170,7 @@
 	iffalse UnknownScript_0x56cc3
 UnknownScript_0x56d0c: ; 0x56d0c
 	writetext UnknownText_0x56e8b
-	special $004f
+	special Function24b25
 	loadmenudata MenuDataHeader_0x56db0
 	interpretmenu2
 	writebackup
@@ -193,7 +193,7 @@
 	writetext UnknownText_0x56ebd
 	closetext
 	writebyte ABRA
-	special $0039
+	special Functionc230
 	givepoke ABRA, 5, 0, 0
 	takecoins 100
 	jump UnknownScript_0x56d0c
@@ -212,7 +212,7 @@
 	writetext UnknownText_0x56ebd
 	closetext
 	writebyte CUBONE
-	special $0039
+	special Functionc230
 	givepoke CUBONE, 15, 0, 0
 	takecoins 800
 	jump UnknownScript_0x56d0c
@@ -231,7 +231,7 @@
 	writetext UnknownText_0x56ebd
 	closetext
 	writebyte WOBBUFFET
-	special $0039
+	special Functionc230
 	givepoke WOBBUFFET, 15, 0, 0
 	takecoins 1500
 	jump UnknownScript_0x56d0c
@@ -323,7 +323,7 @@
 	if_equal $0, MapGoldenrodGameCornerSignpost7Script
 	refreshscreen $0
 	writebyte $0
-	special $002a
+	special Functionc373
 	loadmovesprites
 	end
 ; 0x56e40
@@ -331,7 +331,7 @@
 MapGoldenrodGameCornerSignpost7Script: ; 0x56e40
 	refreshscreen $0
 	writebyte $1
-	special $002a
+	special Functionc373
 	loadmovesprites
 	end
 ; 0x56e49
@@ -338,7 +338,7 @@
 
 MapGoldenrodGameCornerSignpost29Script: ; 0x56e49
 	refreshscreen $0
-	special $002b
+	special Functionc380
 	loadmovesprites
 	end
 ; 0x56e50
--- a/maps/GoldenrodHappinessRater.asm
+++ b/maps/GoldenrodHappinessRater.asm
@@ -9,7 +9,7 @@
 TeacherScript_0x54953: ; 0x54953
 	faceplayer
 	loadfont
-	special $0059
+	special Function718d
 	writetext UnknownText_0x549a3
 	keeptextopen
 	if_greater_than $f9, UnknownScript_0x54973
--- a/maps/GoldenrodMagnetTrainStation.asm
+++ b/maps/GoldenrodMagnetTrainStation.asm
@@ -36,7 +36,7 @@
 	applymovement $2, MovementData_0x55146
 	applymovement $0, MovementData_0x5514f
 	writebyte $0
-	special $0023
+	special Function8cc04
 	warpcheck
 	newloadmap $f9
 	applymovement $0, MovementData_0x55122
--- a/maps/GoldenrodNameRatersHouse.asm
+++ b/maps/GoldenrodNameRatersHouse.asm
@@ -9,7 +9,7 @@
 GentlemanScript_0x5577c: ; 0x5577c
 	faceplayer
 	loadfont
-	special $0057
+	special SpecialNameRater
 	closetext
 	loadmovesprites
 	end
--- a/maps/GoldenrodPokeCenter1F.asm
+++ b/maps/GoldenrodPokeCenter1F.asm
@@ -12,7 +12,7 @@
 
 UnknownScript_0x60f94: ; 0x60f94
 	writebyte $b
-	special $0086
+	special Function170687
 	if_equal $b, UnknownScript_0x60f9e
 	end
 ; 0x60f9e
@@ -37,7 +37,7 @@
 	closetext
 	loadmovesprites
 	applymovement $3, MovementData_0x61060
-	special $003d
+	special RestartMapMusic
 	disappear $3
 	playsound SFX_EXIT_BUILDING
 UnknownScript_0x60fd8: ; 0x60fd8
@@ -46,7 +46,7 @@
 
 UnknownScript_0x60fd9: ; 0x60fd9
 	writebyte $b
-	special $0086
+	special Function170687
 	if_equal $b, UnknownScript_0x60fe3
 	end
 ; 0x60fe3
@@ -71,7 +71,7 @@
 	closetext
 	loadmovesprites
 	applymovement $3, MovementData_0x6106c
-	special $003d
+	special RestartMapMusic
 	disappear $3
 	playsound SFX_EXIT_BUILDING
 UnknownScript_0x6101d: ; 0x6101d
--- a/maps/HallOfFame.asm
+++ b/maps/HallOfFame.asm
@@ -33,7 +33,7 @@
 	dotrigger $1
 	pause 15
 	writebyte $2
-	special $003e
+	special Function12324
 	setevent $0044
 	setevent $077c
 	setevent $06c4
@@ -41,7 +41,7 @@
 	setevent $0737
 	clearevent $0738
 	domaptrigger GROUP_SPROUT_TOWER_3F, MAP_SPROUT_TOWER_3F, $1
-	special $001b
+	special Functionc658
 	checkevent EVENT_GOT_SS_TICKET_FROM_ELM
 	iftrue UnknownScript_0x181497
 	specialphonecall $5
--- a/maps/IlexForest.asm
+++ b/maps/IlexForest.asm
@@ -523,18 +523,18 @@
 	loadmovesprites
 	pause 20
 	showemote $0, $0, 20
-	special $006a
+	special Functionc48f
 	applymovement $0, MovementData_0x6ef58
 	pause 30
 	spriteface $0, $0
 	pause 20
 	clearflag $0064
-	special $008f
+	special Function4989a
 	loadpokedata CELEBI, 30
 	startbattle
 	returnafterbattle
 	pause 20
-	special $0090
+	special Function49bf9
 	iffalse UnknownScript_0x6ee8e
 	appear $7
 	applymovement $7, MovementData_0x6ef4e
--- a/maps/IndigoPlateauPokeCenter1F.asm
+++ b/maps/IndigoPlateauPokeCenter1F.asm
@@ -58,7 +58,7 @@
 	appear $5
 	spriteface $0, $0
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	applymovement $5, MovementData_0x180164
 	playmusic MUSIC_RIVAL_ENCOUNTER
@@ -80,7 +80,7 @@
 	appear $5
 	spriteface $0, $0
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	applymovement $5, MovementData_0x18016b
 	playmusic MUSIC_RIVAL_ENCOUNTER
@@ -165,7 +165,7 @@
 	closetext
 	loadmovesprites
 	playsound SFX_WARP_TO
-	special $002e
+	special Function8c084
 	waitbutton
 	warp GROUP_NEW_BARK_TOWN, MAP_NEW_BARK_TOWN, $d, $6
 	end
--- a/maps/KrissHouse1F.asm
+++ b/maps/KrissHouse1F.asm
@@ -48,12 +48,12 @@
 	clearevent $06c8
 	writetext UnknownText_0x7a6bd
 	keeptextopen
-	special $0025
+	special Function90913
 UnknownScript_0x7a519: ; 0x7a519
 	writetext UnknownText_0x7a742
 	yesorno
 	iffalse UnknownScript_0x7a52a
-	special $00a6
+	special Function90a54
 	yesorno
 	iffalse UnknownScript_0x7a519
 	jump UnknownScript_0x7a531
@@ -60,7 +60,7 @@
 ; 0x7a52a
 
 UnknownScript_0x7a52a: ; 0x7a52a
-	special $00a7
+	special Function90a88
 	yesorno
 	iffalse UnknownScript_0x7a519
 UnknownScript_0x7a531: ; 0x7a531
@@ -104,7 +104,7 @@
 ; 0x7a56b
 
 UnknownScript_0x7a56b: ; 0x7a56b
-	special $003d
+	special RestartMapMusic
 	spriteface $2, $2
 	end
 ; 0x7a572
@@ -161,7 +161,7 @@
 	setevent $0076
 UnknownScript_0x7a5b8: ; 0x7a5b8
 	setevent EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
-	special $0022
+	special Function16218
 	closetext
 	loadmovesprites
 	end
--- a/maps/KrissHouse2F.asm
+++ b/maps/KrissHouse2F.asm
@@ -17,7 +17,7 @@
 ; 0x7abb4
 
 UnknownScript_0x7abb4: ; 0x7abb4
-	special $004a
+	special Function27043
 	setevent $0007
 	checkevent $0036
 	iftrue UnknownScript_0x7abc4
@@ -30,7 +30,7 @@
 ; 0x7abc5
 
 UnknownScript_0x7abc5: ; 0x7abc5
-	special $0049
+	special Function26feb
 	return
 ; 0x7abc9
 
@@ -103,7 +103,7 @@
 
 MapKrissHouse2FSignpost0Script: ; 0x7ac15
 	loadfont
-	special $001d
+	special Functionc2e7
 	iftrue UnknownScript_0x7ac1e
 	loadmovesprites
 	end
--- a/maps/KurtsHouse.asm
+++ b/maps/KurtsHouse.asm
@@ -43,7 +43,7 @@
 	writetext UnknownText_0x18e473
 	closetext
 	loadmovesprites
-	special $006a
+	special Functionc48f
 	setevent $06fa
 	checkcode $9
 	if_equal $1, UnknownScript_0x18e1ab
@@ -53,7 +53,7 @@
 	playsound SFX_EXIT_BUILDING
 	disappear $2
 	waitbutton
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x18e1ab
 
@@ -64,7 +64,7 @@
 	playsound SFX_EXIT_BUILDING
 	disappear $2
 	waitbutton
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x18e1bf
 
@@ -134,7 +134,7 @@
 	writetext UnknownText_0x18e736
 	keeptextopen
 	setevent $0002
-	special $0056
+	special Function88018
 	if_equal $0, UnknownScript_0x18e2a5
 	if_equal $59, UnknownScript_0x18e275
 	if_equal $5c, UnknownScript_0x18e27b
@@ -319,7 +319,7 @@
 	setevent $00c0
 	clearevent EVENT_CAN_GIVE_GS_BALL_TO_KURT
 	clearevent $00bf
-	special $006a
+	special Functionc48f
 	pause 20
 	showemote $0, $2, 30
 	checkcode $9
@@ -339,7 +339,7 @@
 	disappear $2
 	clearevent $07a4
 	waitbutton
-	special $003d
+	special RestartMapMusic
 	domaptrigger GROUP_AZALEA_TOWN, MAP_AZALEA_TOWN, $2
 	end
 ; 0x18e3bd
--- a/maps/LakeofRage.asm
+++ b/maps/LakeofRage.asm
@@ -146,7 +146,7 @@
 
 UnknownScript_0x700b8: ; 0x700b8
 	keeptextopen
-	special $001a
+	special Functionfbcd2
 	loadmovesprites
 	end
 ; 0x700be
--- a/maps/LakeofRageMagikarpHouse.asm
+++ b/maps/LakeofRageMagikarpHouse.asm
@@ -41,11 +41,11 @@
 
 UnknownScript_0x19a6e0: ; 0x19a6e0
 	writebyte MAGIKARP
-	special $0042
+	special Functionc276
 	iffalse UnknownScript_0x19a6d7
 	writetext UnknownText_0x19a93e
 	closetext
-	special $0019
+	special Functionfbb32
 	if_equal $0, UnknownScript_0x19a71c
 	if_equal $1, UnknownScript_0x19a722
 	if_equal $2, UnknownScript_0x19a716
--- a/maps/LancesRoom.asm
+++ b/maps/LancesRoom.asm
@@ -49,13 +49,13 @@
 ; 0x180e6a
 
 UnknownScript_0x180e6a: ; 0x180e6a
-	special $006a
+	special Functionc48f
 	applymovement $0, MovementData_0x180f38
 	jump LanceScript_0x180e7b
 ; 0x180e74
 
 UnknownScript_0x180e74: ; 0x180e74
-	special $006a
+	special Functionc48f
 	applymovement $0, MovementData_0x180f3c
 LanceScript_0x180e7b: ; 0x180e7b
 	spriteface $2, $2
@@ -131,7 +131,7 @@
 	pause 30
 	loadmovesprites
 	applymovement $3, MovementData_0x180f5b
-	special $002e
+	special Function8c084
 	pause 15
 	warpfacing $1, GROUP_HALL_OF_FAME, MAP_HALL_OF_FAME, $4, $d
 	end
--- a/maps/LavenderNameRater.asm
+++ b/maps/LavenderNameRater.asm
@@ -16,7 +16,7 @@
 GentlemanScript_0x7eaf2: ; 0x7eaf2
 	faceplayer
 	loadfont
-	special $0057
+	special SpecialNameRater
 	closetext
 	loadmovesprites
 	end
--- a/maps/MahoganyTown.asm
+++ b/maps/MahoganyTown.asm
@@ -59,7 +59,7 @@
 UnknownScript_0x190040: ; 0x190040
 	loadfont
 	writetext UnknownText_0x1900b0
-	special $0051
+	special Function24ae8
 	yesorno
 	iffalse UnknownScript_0x190072
 	checkmoney $0, 300
@@ -69,7 +69,7 @@
 	waitbutton
 	playsound SFX_TRANSACTION
 	takemoney $0, 300
-	special $0051
+	special Function24ae8
 	writetext UnknownText_0x19014a
 	closetext
 	loadmovesprites
--- a/maps/ManiasHouse.asm
+++ b/maps/ManiasHouse.asm
@@ -16,7 +16,7 @@
 	writetext UnknownText_0x9d303
 	yesorno
 	iffalse UnknownScript_0x9d2b6
-	special SPECIAL_GIVESHUCKLE
+	special SpecialGiveShuckle
 	iffalse UnknownScript_0x9d2b0
 	writetext UnknownText_0x9d3ed
 	keeptextopen
@@ -56,7 +56,7 @@
 	writetext UnknownText_0x9d470
 	yesorno
 	iffalse UnknownScript_0x9d2ee
-	special $004c
+	special SpecialReturnShuckle
 	if_equal $0, UnknownScript_0x9d2df
 	if_equal $1, UnknownScript_0x9d2ee
 	if_equal $3, UnknownScript_0x9d2e5
--- a/maps/MobileBattleRoom.asm
+++ b/maps/MobileBattleRoom.asm
@@ -27,9 +27,9 @@
 
 MapMobileBattleRoomSignpost0Script: ; 0x1935da
 	refreshscreen $0
-	special $009f
+	special Function1037c2
 	if_equal $1, UnknownScript_0x193619
-	special $009b
+	special Function1037eb
 	iffalse UnknownScript_0x193624
 	if_equal $1, UnknownScript_0x1935f4
 	if_equal $2, UnknownScript_0x19360d
@@ -40,24 +40,24 @@
 	writetext UnknownText_0x193644
 	pause 20
 	loadmovesprites
-	special $002e
+	special Function8c084
 	playmusic MUSIC_HEAL
-	special $00a4
+	special Function1047eb
 	pause 60
-	special $0031
-	special $003d
+	special Function8c079
+	special RestartMapMusic
 	refreshscreen $0
 UnknownScript_0x19360d: ; 0x19360d
-	special $009d
-	special $001b
-	special $009c
+	special Function1060a2
+	special Functionc658
+	special Function10383c
 	iftrue UnknownScript_0x193624
 UnknownScript_0x193619: ; 0x193619
-	special $00a2
+	special Function10387b
 	writetext UnknownText_0x193626
 	closetext
 	reloadmappart
-	special $0081
+	special Function101225
 UnknownScript_0x193624: ; 0x193624
 	loadmovesprites
 	end
--- a/maps/MobileTradeRoomMobile.asm
+++ b/maps/MobileTradeRoomMobile.asm
@@ -27,11 +27,11 @@
 
 MapMobileTradeRoomMobileSignpost0Script: ; 0x193582
 	refreshscreen $0
-	special $009f
+	special Function1037c2
 	writetext UnknownText_0x193591
 	closetext
 	reloadmappart
-	special $0082
+	special Function101231
 	loadmovesprites
 	end
 ; 0x193591
--- a/maps/MountMoon.asm
+++ b/maps/MountMoon.asm
@@ -22,7 +22,7 @@
 UnknownScript_0x7408e: ; 0x7408e
 	spriteface $0, $3
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	applymovement $2, MovementData_0x740f9
 	playmusic MUSIC_RIVAL_ENCOUNTER
--- a/maps/MoveDeletersHouse.asm
+++ b/maps/MoveDeletersHouse.asm
@@ -9,7 +9,7 @@
 SuperNerdScript_0x195cb4: ; 0x195cb4
 	faceplayer
 	loadfont
-	special $0021
+	special Function2c547
 	closetext
 	loadmovesprites
 	end
--- a/maps/MrPokemonsHouse.asm
+++ b/maps/MrPokemonsHouse.asm
@@ -109,7 +109,7 @@
 	playsound SFX_EXIT_BUILDING
 	disappear $3
 	waitbutton
-	special $003d
+	special RestartMapMusic
 	pause 15
 	spriteface $0, $1
 	loadfont
@@ -116,14 +116,14 @@
 	writetext UnknownText_0x1970ed
 	closetext
 	loadmovesprites
-	special $0030
-	special $0033
+	special Function8c0b6
+	special Functiond91
 	playmusic MUSIC_HEAL
-	special $009d
-	special $001b
+	special Function1060a2
+	special Functionc658
 	pause 60
-	special $0032
-	special $003d
+	special Function8c0ab
+	special RestartMapMusic
 	loadfont
 	writetext UnknownText_0x197134
 	closetext
--- a/maps/NewBarkTown.asm
+++ b/maps/NewBarkTown.asm
@@ -48,7 +48,7 @@
 	writetext UnknownText_0x1a815e
 	closetext
 	loadmovesprites
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x1a8041
 
@@ -73,7 +73,7 @@
 	writetext UnknownText_0x1a815e
 	closetext
 	loadmovesprites
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x1a806f
 
--- a/maps/OaksLab.asm
+++ b/maps/OaksLab.asm
@@ -30,7 +30,7 @@
 UnknownScript_0x19b3ea: ; 0x19b3ea
 	writetext UnknownText_0x19b4a2
 	closetext
-	special $0065
+	special ProfOaksPCBoot
 	writetext UnknownText_0x19b4c8
 	closetext
 	loadmovesprites
--- a/maps/OlivineCity.asm
+++ b/maps/OlivineCity.asm
@@ -30,7 +30,7 @@
 UnknownScript_0x1a8833: ; 0x1a8833
 	spriteface $0, $2
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	playsound SFX_ENTER_DOOR
 	appear $5
@@ -46,9 +46,9 @@
 	applymovement $5, MovementData_0x1a88db
 	dotrigger $1
 	disappear $5
-	special $003d
+	special RestartMapMusic
 	variablesprite $5, $31
-	special $005e
+	special Function14209
 	end
 ; 0x1a886b
 
@@ -55,7 +55,7 @@
 UnknownScript_0x1a886b: ; 0x1a886b
 	spriteface $0, $2
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	playsound SFX_ENTER_DOOR
 	appear $5
@@ -71,9 +71,9 @@
 	applymovement $5, MovementData_0x1a88e8
 	disappear $5
 	dotrigger $1
-	special $003d
+	special RestartMapMusic
 	variablesprite $5, $31
-	special $005e
+	special Function14209
 	end
 ; 0x1a88a3
 
--- a/maps/OlivineLighthouse6F.asm
+++ b/maps/OlivineLighthouse6F.asm
@@ -42,11 +42,11 @@
 	pause 60
 	keeptextopen
 	loadmovesprites
-	special $003d
+	special RestartMapMusic
 	cry AMPHAROS
-	special $002e
+	special Function8c084
 	pause 10
-	special $0031
+	special Function8c079
 	loadfont
 	writetext UnknownText_0x60f3d
 	closetext
@@ -111,7 +111,7 @@
 	iftrue UnknownScript_0x60c51
 	writetext UnknownText_0x60f03
 	writebyte AMPHAROS
-	special $005f
+	special Functionfb841
 	keeptextopen
 	writetext UnknownText_0x60f19
 	closetext
@@ -124,10 +124,10 @@
 	cry AMPHAROS
 	closetext
 	loadmovesprites
-	special $002e
-	special $0031
-	special $002e
-	special $0031
+	special Function8c084
+	special Function8c079
+	special Function8c084
+	special Function8c079
 	end
 ; 0x60c66
 
--- a/maps/OlivinePort.asm
+++ b/maps/OlivinePort.asm
@@ -43,7 +43,7 @@
 	waitbutton
 	applymovement $0, MovementData_0x74a30
 	playsound SFX_EXIT_BUILDING
-	special $002e
+	special Function8c084
 	waitbutton
 	checkevent $0030
 	iffalse UnknownScript_0x7490a
--- a/maps/PokeCenter2F.asm
+++ b/maps/PokeCenter2F.asm
@@ -15,7 +15,7 @@
 ; 0x19285f
 
 UnknownScript_0x19285f: ; 0x19285f
-	special $0011
+	special Functionc2f6
 	if_equal $0, UnknownScript_0x192872
 	clearevent $0711
 	checkevent $0001
@@ -83,28 +83,28 @@
 	writetext UnknownText_0x192e3a
 	yesorno
 	iffalse UnknownScript_0x19291d
-	special $00a0
+	special Function10630f
 	iffalse UnknownScript_0x1928be
 	writetext UnknownText_0x192d7e
-	special $008c
+	special Function103612
 	iffalse UnknownScript_0x19291d
 	if_equal $1, UnknownScript_0x19291f
 UnknownScript_0x1928be: ; 0x1928be
-	special $0001
+	special Function29ce8
 	writetext UnknownText_0x192f67
-	special $0002
+	special Function29d11
 	iffalse UnknownScript_0x1928f6
 	writetext UnknownText_0x192f34
 	yesorno
 	iffalse UnknownScript_0x192917
-	special $0004
+	special Function29e66
 	iffalse UnknownScript_0x192917
 	writetext UnknownText_0x192f67
-	special $0003
+	special Function29d92
 	iffalse UnknownScript_0x192911
 	copybytetovar wcf51
 	iffalse UnknownScript_0x1928fe
-	special $0005
+	special Function29e82
 	iffalse UnknownScript_0x192909
 	writetext UnknownText_0x19306b
 	closetext
@@ -115,7 +115,7 @@
 ; 0x1928f6
 
 UnknownScript_0x1928f6: ; 0x1928f6
-	special $0008
+	special Function29c92
 	writetext UnknownText_0x192f19
 	loadmovesprites
 	end
@@ -122,9 +122,9 @@
 ; 0x1928fe
 
 UnknownScript_0x1928fe: ; 0x1928fe
-	special $0006
+	special Function29efa
 	writetext UnknownText_0x193029
-	special $0007
+	special Function29eee
 	loadmovesprites
 	end
 ; 0x192909
@@ -131,7 +131,7 @@
 
 UnknownScript_0x192909: ; 0x192909
 	writetext UnknownText_0x19304a
-	special $0007
+	special Function29eee
 	loadmovesprites
 	end
 ; 0x192911
@@ -144,7 +144,7 @@
 UnknownScript_0x192917: ; 0x192917
 	writetext UnknownText_0x192fd1
 UnknownScript_0x19291a: ; 0x19291a
-	special $0008
+	special Function29c92
 UnknownScript_0x19291d: ; 0x19291d
 	loadmovesprites
 	end
@@ -166,9 +166,9 @@
 	writetext UnknownText_0x192f34
 	yesorno
 	iffalse UnknownScript_0x192943
-	special $0004
+	special Function29e66
 	iffalse UnknownScript_0x192943
-	special $007f
+	special Function1011f1
 	writetext UnknownText_0x19306b
 	closetext
 	loadmovesprites
@@ -196,28 +196,28 @@
 	writetext UnknownText_0x192de0
 	yesorno
 	iffalse UnknownScript_0x1929d2
-	special $00a0
+	special Function10630f
 	iffalse UnknownScript_0x192973
 	writetext UnknownText_0x192d39
-	special $008c
+	special Function103612
 	iffalse UnknownScript_0x1929d2
 	if_equal $1, UnknownScript_0x1929d4
 UnknownScript_0x192973: ; 0x192973
-	special $0009
+	special Function29cf1
 	writetext UnknownText_0x192f67
-	special $0002
+	special Function29d11
 	iffalse UnknownScript_0x1929ab
 	writetext UnknownText_0x192f34
 	yesorno
 	iffalse UnknownScript_0x1929cc
-	special $0004
+	special Function29e66
 	iffalse UnknownScript_0x1929cc
 	writetext UnknownText_0x192f67
-	special $0003
+	special Function29d92
 	iffalse UnknownScript_0x1929c6
 	copybytetovar wcf51
 	iffalse UnknownScript_0x1929b3
-	special $0005
+	special Function29e82
 	iffalse UnknownScript_0x1929be
 	writetext UnknownText_0x19306b
 	closetext
@@ -228,7 +228,7 @@
 ; 0x1929ab
 
 UnknownScript_0x1929ab: ; 0x1929ab
-	special $0008
+	special Function29c92
 	writetext UnknownText_0x192f19
 	loadmovesprites
 	end
@@ -235,9 +235,9 @@
 ; 0x1929b3
 
 UnknownScript_0x1929b3: ; 0x1929b3
-	special $0006
+	special Function29efa
 	writetext UnknownText_0x193029
-	special $0007
+	special Function29eee
 	loadmovesprites
 	end
 ; 0x1929be
@@ -244,7 +244,7 @@
 
 UnknownScript_0x1929be: ; 0x1929be
 	writetext UnknownText_0x19304a
-	special $0007
+	special Function29eee
 	loadmovesprites
 	end
 ; 0x1929c6
@@ -257,7 +257,7 @@
 UnknownScript_0x1929cc: ; 0x1929cc
 	writetext UnknownText_0x192fd1
 UnknownScript_0x1929cf: ; 0x1929cf
-	special $0008
+	special Function29c92
 UnknownScript_0x1929d2: ; 0x1929d2
 	loadmovesprites
 	end
@@ -281,9 +281,9 @@
 	writetext UnknownText_0x192f34
 	yesorno
 	iffalse UnknownScript_0x1929fe
-	special $00a1
+	special Function103780
 	iffalse UnknownScript_0x1929fe
-	special $007f
+	special Function1011f1
 	writetext UnknownText_0x19306b
 	closetext
 	loadmovesprites
@@ -299,7 +299,7 @@
 ; 0x192a05
 
 UnknownScript_0x192a05: ; 0x192a05
-	special $009a
+	special Function10366e
 	iffalse UnknownScript_0x192a1e
 	if_equal $1, UnknownScript_0x192a22
 	if_equal $2, UnknownScript_0x192a22
@@ -335,38 +335,38 @@
 	iftrue UnknownScript_0x192a25
 	checkflag $0053
 	iftrue UnknownScript_0x192a25
-	special $000a
+	special Function29cfa
 	faceplayer
 	loadfont
 	writetext UnknownText_0x192e9f
 	yesorno
 	iffalse UnknownScript_0x192aa2
-	special $000b
+	special Function29bfb
 	if_equal $1, UnknownScript_0x192aa7
 	if_equal $2, UnknownScript_0x192aac
 	if_equal $3, UnknownScript_0x192ab1
 	writetext UnknownText_0x192f67
-	special $0002
+	special Function29d11
 	iffalse UnknownScript_0x192a91
 	writetext UnknownText_0x192f34
 	yesorno
 	iffalse UnknownScript_0x192a9f
-	special $0004
+	special Function29e66
 	iffalse UnknownScript_0x192a9f
 	writetext UnknownText_0x192f67
-	special $0003
+	special Function29d92
 	iffalse UnknownScript_0x192a99
 	copybytetovar wcf51
 	iffalse UnknownScript_0x192a84
-	special $0005
+	special Function29e82
 	writetext UnknownText_0x19304a
-	special $0007
+	special Function29eee
 	loadmovesprites
 	end
 ; 0x192a84
 
 UnknownScript_0x192a84: ; 0x192a84
-	special $000c
+	special Function29c7b
 	writetext UnknownText_0x19306b
 	closetext
 	loadmovesprites
@@ -376,7 +376,7 @@
 ; 0x192a91
 
 UnknownScript_0x192a91: ; 0x192a91
-	special $0008
+	special Function29c92
 	writetext UnknownText_0x192f19
 	loadmovesprites
 	end
@@ -390,7 +390,7 @@
 UnknownScript_0x192a9f: ; 0x192a9f
 	writetext UnknownText_0x192fd1
 UnknownScript_0x192aa2: ; 0x192aa2
-	special $0008
+	special Function29c92
 	loadmovesprites
 	end
 ; 0x192aa7
@@ -414,7 +414,7 @@
 ; 0x192ab6
 
 UnknownScript_0x192ab6: ; 0x192ab6
-	special $0008
+	special Function29c92
 	scall UnknownScript_0x192b50
 	dotrigger $0
 	domaptrigger GROUP_TRADE_CENTER, MAP_TRADE_CENTER, $0
@@ -422,7 +422,7 @@
 ; 0x192ac3
 
 UnknownScript_0x192ac3: ; 0x192ac3
-	special $0080
+	special Function101220
 	scall UnknownScript_0x192ad0
 	dotrigger $0
 	domaptrigger GROUP_MOBILE_TRADE_ROOM_MOBILE, MAP_MOBILE_TRADE_ROOM_MOBILE, $0
@@ -437,7 +437,7 @@
 ; 0x192add
 
 UnknownScript_0x192add: ; 0x192add
-	special $0008
+	special Function29c92
 	scall UnknownScript_0x192b8a
 	dotrigger $0
 	domaptrigger GROUP_COLOSSEUM, MAP_COLOSSEUM, $0
@@ -445,7 +445,7 @@
 ; 0x192aea
 
 UnknownScript_0x192aea: ; 0x192aea
-	special $0080
+	special Function101220
 	scall UnknownScript_0x192af7
 	dotrigger $0
 	domaptrigger GROUP_MOBILE_BATTLE_ROOM, MAP_MOBILE_BATTLE_ROOM, $0
@@ -483,10 +483,10 @@
 	playsound SFX_TINGLE
 	applymovement $0, MovementData_0x192d17
 	writebyte $80
-	special $0098
+	special Functionc225
 	applymovement $0, MovementData_0x192d1c
 	setflag $009f
-	special $0038
+	special Functione4a
 	loadfont
 	writetext UnknownText_0x19329a
 	closetext
@@ -512,9 +512,9 @@
 	playsound SFX_TINGLE
 	applymovement $0, MovementData_0x192d17
 	writebyte $90
-	special $0098
+	special Functionc225
 	applymovement $0, MovementData_0x192d1c
-	special $0038
+	special Functione4a
 	applymovement $0, MovementData_0x192d2a
 	applymovement $2, MovementData_0x192cfe
 	end
@@ -536,9 +536,9 @@
 	playsound SFX_TINGLE
 	applymovement $0, MovementData_0x192d17
 	writebyte $90
-	special $0098
+	special Functionc225
 	applymovement $0, MovementData_0x192d1c
-	special $0038
+	special Functione4a
 	applymovement $0, MovementData_0x192d2a
 	applymovement $3, MovementData_0x192cfe
 	end
@@ -601,11 +601,11 @@
 	playsound SFX_TINGLE
 	applymovement $0, MovementData_0x192d17
 	writebyte $80
-	special $0098
+	special Functionc225
 	applymovement $0, MovementData_0x192d22
 	faceperson $0, $4
 	setflag $009f
-	special $0038
+	special Functione4a
 	loadfont
 	writetext UnknownText_0x19329a
 	closetext
@@ -616,7 +616,7 @@
 ; 0x192c4e
 
 UnknownScript_0x192c4e: ; 0x192c4e
-	special $0008
+	special Function29c92
 	checkflag $009f
 	iftrue UnknownScript_0x192c66
 	applymovement $4, MovementData_0x192d08
@@ -632,9 +632,9 @@
 	playsound SFX_TINGLE
 	applymovement $0, MovementData_0x192d17
 	writebyte $90
-	special $0098
+	special Functionc225
 	applymovement $0, MovementData_0x192d1c
-	special $0038
+	special Functione4a
 	applymovement $0, MovementData_0x192cfc
 	applymovement $4, MovementData_0x192d01
 UnknownScript_0x192c8c: ; 0x192c8c
@@ -645,7 +645,7 @@
 
 MapPokeCenter2FSignpost0Script: ; 0x192c93
 	refreshscreen $0
-	special $0058
+	special Functionc2da
 	loadmovesprites
 	end
 ; 0x192c9a
@@ -661,7 +661,7 @@
 	writetext UnknownText_0x1931c4
 	keeptextopen
 	waitbutton
-	special $0012
+	special Functionc309
 	iffalse UnknownScript_0x192cbe
 	itemnotify
 	setevent $0711
--- a/maps/PokeSeersHouse.asm
+++ b/maps/PokeSeersHouse.asm
@@ -9,7 +9,7 @@
 SeerScript: ; 0x9e36e
 	faceplayer
 	loadfont
-	special SPECIAL_POKESEER
+	special SpecialPokeSeer
 	closetext
 	loadmovesprites
 	end
--- a/maps/RadioTower1F.asm
+++ b/maps/RadioTower1F.asm
@@ -29,11 +29,11 @@
 	loadfont
 	writetext UnknownText_0x5ceba
 	keeptextopen
-	special $0053
+	special Functionc434
 	iffalse UnknownScript_0x5cd4c
-	special $0054
+	special Functionc422
 UnknownScript_0x5cd4c: ; 0x5cd4c
-	special $0055
+	special Function4d9d3
 	checkflag $004e
 	iftrue UnknownScript_0x5cd84
 	writetext UnknownText_0x5cf3a
@@ -48,7 +48,7 @@
 	playsound SFX_DEX_FANFARE_20_49
 	waitbutton
 	keeptextopen
-	special $0052
+	special Function4d87a
 	loadmovesprites
 	applymovement $6, MovementData_0x5ce74
 	loadfont
--- a/maps/RadioTower2F.asm
+++ b/maps/RadioTower2F.asm
@@ -184,7 +184,7 @@
 	if_equal $1e, UnknownScript_0x5d87f
 	playmusic MUSIC_BUENAS_PASSWORD
 	writetext UnknownText_0x5de35
-	special $00a3
+	special Function4ae12
 	iffalse UnknownScript_0x5d81e
 	writetext UnknownText_0x5de84
 	closetext
@@ -201,7 +201,7 @@
 	loadmovesprites
 	spriteface $b, $0
 	refreshscreen $0
-	special SPECIAL_BUENAS_PASSWORD
+	special SpecialBuenasPassword
 	loadmovesprites
 	iffalse UnknownScript_0x5d845
 	loadfont
@@ -220,9 +220,9 @@
 	writetext UnknownText_0x5e054
 	closetext
 	loadmovesprites
-	special $006a
+	special Functionc48f
 	pause 20
-	special $003d
+	special RestartMapMusic
 	checkcode $18
 	if_equal $1e, UnknownScript_0x5d8a4
 	end
@@ -251,9 +251,9 @@
 	closetext
 	loadmovesprites
 	spriteface $b, $3
-	special $006a
+	special Functionc48f
 	pause 20
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x5d82f
 
@@ -284,9 +284,9 @@
 	closetext
 	loadmovesprites
 	spriteface $b, $3
-	special $006a
+	special Functionc48f
 	pause 20
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x5d865
 
@@ -396,7 +396,7 @@
 	iffalse UnknownScript_0x5d90f
 	writetext UnknownText_0x5e392
 	keeptextopen
-	special SPECIAL_BUENA_PRIZE
+	special SpecialBuenaPrize
 	loadmovesprites
 	end
 ; 0x5d90f
--- a/maps/RadioTower5F.asm
+++ b/maps/RadioTower5F.asm
@@ -115,12 +115,12 @@
 	writetext UnknownText_0x6050e
 	closetext
 	loadmovesprites
-	special $0030
-	special $0033
+	special Function8c0b6
+	special Functiond91
 	disappear $3
 	disappear $4
 	pause 15
-	special $0032
+	special Function8c0ab
 	setevent $0571
 	setevent EVENT_CLEARED_RADIO_TOWER
 	clearflag $0013
@@ -133,7 +133,7 @@
 	clearevent $06d0
 	setevent $06e3
 	clearevent $06e4
-	special $003c
+	special PlayMapMusic
 	disappear $2
 	moveperson $2, $c, $0
 	appear $2
--- a/maps/Route24.asm
+++ b/maps/Route24.asm
@@ -22,15 +22,15 @@
 	loadfont
 	writetext UnknownText_0x1addc0
 	keeptextopen
-	special $006a
+	special Functionc48f
 	writetext UnknownText_0x1adee1
 	closetext
 	loadmovesprites
-	special $0030
-	special $0033
+	special Function8c0b6
+	special Functiond91
 	disappear $2
 	pause 25
-	special $0032
+	special Function8c0ab
 	playmapmusic
 	end
 ; 0x1adc2e
--- a/maps/Route25.asm
+++ b/maps/Route25.asm
@@ -41,7 +41,7 @@
 	disappear $2
 	clearevent $076f
 	dotrigger $0
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x19eee0
 
@@ -68,7 +68,7 @@
 	disappear $2
 	clearevent $076f
 	dotrigger $0
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x19ef20
 
--- a/maps/Route26HealSpeechHouse.asm
+++ b/maps/Route26HealSpeechHouse.asm
@@ -12,14 +12,14 @@
 	writetext UnknownText_0x7b14d
 	closetext
 	loadmovesprites
-	special $0030
-	special $0033
-	special $009d
+	special Function8c0b6
+	special Functiond91
+	special Function1060a2
 	playmusic MUSIC_HEAL
-	special $001b
+	special Functionc658
 	pause 60
-	special $0032
-	special $003d
+	special Function8c0ab
+	special RestartMapMusic
 	loadfont
 	writetext UnknownText_0x7b18b
 	closetext
--- a/maps/Route27SandstormHouse.asm
+++ b/maps/Route27SandstormHouse.asm
@@ -11,7 +11,7 @@
 	loadfont
 	checkevent EVENT_GOT_TM37_SANDSTORM
 	iftrue UnknownScript_0x7b3b7
-	special $0059
+	special Function718d
 	writetext UnknownText_0x7b3c6
 	keeptextopen
 	if_greater_than $95, UnknownScript_0x7b3aa
--- a/maps/Route30.asm
+++ b/maps/Route30.asm
@@ -23,7 +23,7 @@
 	loadmovesprites
 	playsound SFX_TACKLE
 	applymovement $7, MovementData_0x1a1802
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x1a169a
 
--- a/maps/Route34.asm
+++ b/maps/Route34.asm
@@ -51,7 +51,7 @@
 GrampsScript_0x7803d: ; 0x7803d
 	faceplayer
 	loadfont
-	special $0020
+	special Function16936
 	closetext
 	loadmovesprites
 	if_equal $1, UnknownScript_0x7805a
@@ -74,7 +74,7 @@
 
 DaycareMon1Script_0x78065: ; 0x78065
 	loadfont
-	special $0045
+	special Function17421
 	loadmovesprites
 	end
 ; 0x7806b
@@ -81,7 +81,7 @@
 
 DaycareMon2Script_0x7806b: ; 0x7806b
 	loadfont
-	special $0046
+	special Function17440
 	loadmovesprites
 	end
 ; 0x78071
--- a/maps/Route35NationalParkgate.asm
+++ b/maps/Route35NationalParkgate.asm
@@ -84,7 +84,7 @@
 	loadmovesprites
 	scall UnknownScript_0x6a261
 	playsound SFX_ENTER_DOOR
-	special $002e
+	special Function8c084
 	waitbutton
 	warpfacing $1, GROUP_NATIONAL_PARK_BUG_CONTEST, MAP_NATIONAL_PARK_BUG_CONTEST, $a, $2f
 	end
@@ -106,11 +106,11 @@
 	iffalse UnknownScript_0x6a2a3
 	checkcode $1
 	if_greater_than $1, UnknownScript_0x6a271
-	special $0016
+	special Function13a12
 	clearevent $0308
 UnknownScript_0x6a234: ; 0x6a234
 	setflag $0011
-	special $003c
+	special PlayMapMusic
 	writetext UnknownText_0x6a39d
 	keeptextopen
 	writetext UnknownText_0x6a3c7
@@ -119,12 +119,12 @@
 	writetext UnknownText_0x6a3e2
 	closetext
 	loadmovesprites
-	special $0018
+	special Function135db
 	scall UnknownScript_0x6a261
 	playsound SFX_ENTER_DOOR
-	special $002e
+	special Function8c084
 	waitbutton
-	special $0047
+	special Function139a8
 	warpfacing $1, GROUP_NATIONAL_PARK_BUG_CONTEST, MAP_NATIONAL_PARK_BUG_CONTEST, $a, $2f
 	end
 ; 0x6a261
@@ -148,12 +148,12 @@
 	if_equal $0, UnknownScript_0x6a2b5
 
 UnknownScript_0x6a27d: ; 6a27d
-	special $005a
+	special Function71ac
 	if_equal $1, UnknownScript_0x6a2bb
 	writetext UnknownText_0x6a4c6
 	yesorno
 	iffalse UnknownScript_0x6a2a9
-	special $0016
+	special Function13a12
 	iftrue UnknownScript_0x6a2af
 	setevent $0308
 	writetext UnknownText_0x6a537
--- a/maps/Route36.asm
+++ b/maps/Route36.asm
@@ -96,8 +96,8 @@
 	applymovement $4, MovementData_0x19424b
 	disappear $4
 	variablesprite $4, $26
-	special $005e
-	special $009e
+	special Function14209
+	special Function14168
 	end
 ; 0x19408c
 
--- a/maps/Route36NationalParkgate.asm
+++ b/maps/Route36NationalParkgate.asm
@@ -75,14 +75,14 @@
 	writetext UnknownText_0x6b2c5
 	closetext
 	loadmovesprites
-	special $0030
-	special $0033
+	special Function8c0b6
+	special Functiond91
 	scall UnknownScript_0x6ab8c
 	disappear $2
 	appear $d
 	applymovement $0, MovementData_0x6add1
 	pause 15
-	special $0032
+	special Function8c0ab
 	jumpstd $0017
 ; 0x6ab76
 
@@ -92,7 +92,7 @@
 	loadmovesprites
 	spriteface $0, $2
 	playsound SFX_EXIT_BUILDING
-	special $002e
+	special Function8c084
 	waitbutton
 	warpfacing $2, GROUP_NATIONAL_PARK_BUG_CONTEST, MAP_NATIONAL_PARK_BUG_CONTEST, $21, $12
 	end
@@ -139,7 +139,7 @@
 	iftrue UnknownScript_0x6abdc
 	appear $c
 UnknownScript_0x6abdc: ; 0x6abdc
-	special $0037
+	special Function1ad2
 	end
 ; 0x6abe0
 
@@ -159,11 +159,11 @@
 	iffalse UnknownScript_0x6ac73
 	checkcode $1
 	if_greater_than $1, UnknownScript_0x6ac41
-	special $0016
+	special Function13a12
 	clearevent $0308
 UnknownScript_0x6ac10: ; 0x6ac10
 	setflag $0011
-	special $003c
+	special PlayMapMusic
 	writetext UnknownText_0x6ae87
 	keeptextopen
 	waitbutton
@@ -174,12 +174,12 @@
 	closetext
 	loadmovesprites
 	setflag $0011
-	special $0018
+	special Function135db
 	spriteface $0, $2
 	playsound SFX_EXIT_BUILDING
-	special $002e
+	special Function8c084
 	waitbutton
-	special $0047
+	special Function139a8
 	warpfacing $2, GROUP_NATIONAL_PARK_BUG_CONTEST, MAP_NATIONAL_PARK_BUG_CONTEST, $21, $12
 	end
 ; 0x6ac41
@@ -190,12 +190,12 @@
 	checkcode $10
 	if_equal $0, UnknownScript_0x6ac85
 UnknownScript_0x6ac4d: ; 0x6ac4d
-	special $005a
+	special Function71ac
 	if_equal $1, UnknownScript_0x6ac8b
 	writetext UnknownText_0x6afb0
 	yesorno
 	iffalse UnknownScript_0x6ac79
-	special $0016
+	special Function13a12
 	iftrue UnknownScript_0x6ac7f
 	setevent $0308
 	writetext UnknownText_0x6b021
--- a/maps/Route39Barn.asm
+++ b/maps/Route39Barn.asm
@@ -52,7 +52,7 @@
 	iftrue UnknownScript_0x9cd25
 	writetext UnknownText_0x9cd70
 	writebyte MILTANK
-	special $005f
+	special Functionfb841
 	keeptextopen
 	writetext UnknownText_0x9cd80
 	checkevent EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO
@@ -105,7 +105,7 @@
 	writetext UnknownText_0x9cdbc
 	pause 60
 	keeptextopen
-	special $003d
+	special RestartMapMusic
 	writetext UnknownText_0x9ce1b
 	closetext
 	loadmovesprites
--- a/maps/Route39Farmhouse.asm
+++ b/maps/Route39Farmhouse.asm
@@ -22,7 +22,7 @@
 	checkitem MOOMOO_MILK
 	iftrue UnknownScript_0x9cf08
 	writetext UnknownText_0x9cfe1
-	special $0051
+	special Function24ae8
 	yesorno
 	iffalse UnknownScript_0x9cf02
 	checkmoney $0, 500
@@ -30,7 +30,7 @@
 	giveitem MOOMOO_MILK, $1
 	iffalse UnknownScript_0x9cefc
 	takemoney $0, 500
-	special $0051
+	special Function24ae8
 	waitbutton
 	playsound SFX_TRANSACTION
 	writetext UnknownText_0x9d05d
--- a/maps/Route40.asm
+++ b/maps/Route40.asm
@@ -141,7 +141,7 @@
 ; 0x1a61c7
 
 PokefanMScript_0x1a61c7: ; 0x1a61c7
-	special $00a0
+	special Function10630f
 	iftrue UnknownScript_0x1a61d0
 	jumptextfaceplayer UnknownText_0x1a646a
 ; 0x1a61d0
--- a/maps/Route43Gate.asm
+++ b/maps/Route43Gate.asm
@@ -77,7 +77,7 @@
 	applymovement $3, MovementData_0x19acaa
 	applymovement $4, MovementData_0x19acc1
 	dotrigger $1
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x19ac38
 
@@ -113,7 +113,7 @@
 	applymovement $4, MovementData_0x19accd
 	applymovement $3, MovementData_0x19acb5
 	dotrigger $1
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x19ac82
 
--- a/maps/Route45.asm
+++ b/maps/Route45.asm
@@ -34,7 +34,7 @@
 	iftrue UnknownScript_0x19e0e4
 	checkevent $0299
 	iftrue UnknownScript_0x19e0cd
-	special $0095
+	special Function11485
 	writetext UnknownText_0x19e5e2
 	closetext
 	setevent $0299
@@ -66,7 +66,7 @@
 	verbosegiveitem PP_UP, 1
 	iffalse UnknownScript_0x19e118
 	clearevent $026a
-	special $0095
+	special Function11485
 	jump UnknownScript_0x19e127
 ; 0x19e10c
 
--- a/maps/RuinsofAlphAerodactylChamber.asm
+++ b/maps/RuinsofAlphAerodactylChamber.asm
@@ -62,7 +62,7 @@
 MapRuinsofAlphAerodactylChamberSignpost2Script: ; 0x58deb
 	refreshscreen $0
 	writebyte $2
-	special $0029
+	special Functionc360
 	loadmovesprites
 	iftrue UnknownScript_0x58df7
 	end
@@ -100,7 +100,7 @@
 	loadfont
 	writetext UnknownText_0x58e4f
 	writebyte $1
-	special $0087
+	special Function8ae68
 	loadmovesprites
 	end
 ; 0x58e35
@@ -111,7 +111,7 @@
 	loadfont
 	writetext UnknownText_0x58e81
 	writebyte $1
-	special $0087
+	special Function8ae68
 	loadmovesprites
 	end
 ; 0x58e46
--- a/maps/RuinsofAlphHoOhChamber.asm
+++ b/maps/RuinsofAlphHoOhChamber.asm
@@ -15,7 +15,7 @@
 ; 0x5856d
 
 UnknownScript_0x5856d: ; 0x5856d
-	special $008d
+	special SpecialHoOhChamber
 	checkevent EVENT_WALL_OPENED_IN_HO_OH_CHAMBER
 	iftrue UnknownScript_0x58577
 	end
@@ -63,7 +63,7 @@
 MapRuinsofAlphHoOhChamberSignpost2Script: ; 0x585ae
 	refreshscreen $0
 	writebyte $3
-	special $0029
+	special Functionc360
 	loadmovesprites
 	iftrue UnknownScript_0x585ba
 	end
@@ -101,7 +101,7 @@
 	loadfont
 	writetext UnknownText_0x58612
 	writebyte $3
-	special $0087
+	special Function8ae68
 	loadmovesprites
 	end
 ; 0x585f8
@@ -112,7 +112,7 @@
 	loadfont
 	writetext UnknownText_0x58644
 	writebyte $3
-	special $0087
+	special Function8ae68
 	loadmovesprites
 	end
 ; 0x58609
--- a/maps/RuinsofAlphKabutoChamber.asm
+++ b/maps/RuinsofAlphKabutoChamber.asm
@@ -69,7 +69,7 @@
 MapRuinsofAlphKabutoChamberSignpost2Script: ; 0x5876c
 	refreshscreen $0
 	writebyte $0
-	special $0029
+	special Functionc360
 	loadmovesprites
 	iftrue UnknownScript_0x58778
 	end
@@ -141,7 +141,7 @@
 	loadfont
 	writetext UnknownText_0x58aa7
 	writebyte $0
-	special $0087
+	special Function8ae68
 	loadmovesprites
 	end
 ; 0x587e6
@@ -152,7 +152,7 @@
 	loadfont
 	writetext UnknownText_0x58ad9
 	writebyte $0
-	special $0087
+	special Function8ae68
 	loadmovesprites
 	end
 ; 0x587f7
--- a/maps/RuinsofAlphOmanyteChamber.asm
+++ b/maps/RuinsofAlphOmanyteChamber.asm
@@ -15,7 +15,7 @@
 ; 0x58be9
 
 UnknownScript_0x58be9: ; 0x58be9
-	special $0084
+	special Function8adef
 	checkevent EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER
 	iftrue UnknownScript_0x58bf3
 	end
@@ -63,7 +63,7 @@
 MapRuinsofAlphOmanyteChamberSignpost2Script: ; 0x58c2a
 	refreshscreen $0
 	writebyte $1
-	special $0029
+	special Functionc360
 	loadmovesprites
 	iftrue UnknownScript_0x58c36
 	end
@@ -101,7 +101,7 @@
 	loadfont
 	writetext UnknownText_0x58c8e
 	writebyte $2
-	special $0087
+	special Function8ae68
 	loadmovesprites
 	end
 ; 0x58c74
@@ -112,7 +112,7 @@
 	loadfont
 	writetext UnknownText_0x58cc0
 	writebyte $2
-	special $0087
+	special Function8ae68
 	loadmovesprites
 	end
 ; 0x58c85
--- a/maps/RuinsofAlphResearchCenter.asm
+++ b/maps/RuinsofAlphResearchCenter.asm
@@ -61,7 +61,7 @@
 	loadmovesprites
 	applymovement $4, MovementData_0x59276
 	dotrigger $0
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x591d1
 
@@ -183,7 +183,7 @@
 UnknownScript_0x59260: ; 0x59260
 	writetext UnknownText_0x5982d
 	closetext
-	special $0027
+	special Functionc2cd
 	loadmovesprites
 	end
 ; 0x59269
--- a/maps/SaffronPokeCenter1F.asm
+++ b/maps/SaffronPokeCenter1F.asm
@@ -11,7 +11,7 @@
 ; 0x18a480
 
 TeacherScript_0x18a480: ; 0x18a480
-	special $00a0
+	special Function10630f
 	iftrue UnknownScript_0x18a489
 	jumptextfaceplayer UnknownText_0x18a4a3
 ; 0x18a489
--- a/maps/SaffronTrainStation.asm
+++ b/maps/SaffronTrainStation.asm
@@ -36,7 +36,7 @@
 	applymovement $2, MovementData_0x18a88f
 	applymovement $0, MovementData_0x18a898
 	writebyte $1
-	special $0023
+	special Function8cc04
 	warpcheck
 	newloadmap $f9
 	applymovement $0, MovementData_0x18a854
--- a/maps/SilverCaveRoom3.asm
+++ b/maps/SilverCaveRoom3.asm
@@ -7,7 +7,7 @@
 ; 0x18c603
 
 RedScript_0x18c603: ; 0x18c603
-	special $006a
+	special Functionc48f
 	faceplayer
 	loadfont
 	writetext UnknownText_0x18c637
@@ -18,18 +18,18 @@
 	startbattle
 	reloadmapmusic
 	returnafterbattle
-	special $006a
+	special Functionc48f
 	loadfont
 	writetext UnknownText_0x18c63f
 	closetext
 	loadmovesprites
-	special $0030
-	special $0033
+	special Function8c0b6
+	special Functiond91
 	disappear $2
 	pause 15
-	special $0032
+	special Function8c0ab
 	pause 30
-	special $001b
+	special Functionc658
 	refreshscreen $0
 	credits
 	end
--- a/maps/SlowpokeWellB1F.asm
+++ b/maps/SlowpokeWellB1F.asm
@@ -64,14 +64,14 @@
 	writetext TrainerGruntM1WhenTalkText
 	closetext
 	loadmovesprites
-	special $0030
-	special $0033
+	special Function8c0b6
+	special Functiond91
 	disappear $2
 	disappear $3
 	disappear $4
 	disappear $5
 	pause 15
-	special $0032
+	special Function8c0ab
 	disappear $8
 	moveperson $8, $b, $6
 	appear $8
@@ -93,8 +93,8 @@
 	clearevent $06f9
 	clearevent $06fd
 	clearevent $073e
-	special $002e
-	special $001b
+	special Function8c084
+	special Functionc658
 	pause 15
 	warp GROUP_KURTS_HOUSE, MAP_KURTS_HOUSE, $3, $3
 	end
--- a/maps/SproutTower3F.asm
+++ b/maps/SproutTower3F.asm
@@ -21,7 +21,7 @@
 UnknownScript_0x184947: ; 0x184947
 	spriteface $0, $1
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	playsound SFX_TACKLE
 	playsound SFX_ELEVATOR
 	earthquake 79
@@ -50,13 +50,13 @@
 	pause 15
 	loadmovesprites
 	playsound SFX_WARP_TO
-	special $0030
-	special $0033
+	special Function8c0b6
+	special Functiond91
 	disappear $8
 	waitbutton
-	special $0032
+	special Function8c0ab
 	dotrigger $1
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x1849a6
 
--- a/maps/TeamRocketBaseB1F.asm
+++ b/maps/TeamRocketBaseB1F.asm
@@ -460,9 +460,9 @@
 	end
 
 VoltorbExplodingTrap: ; 0x6ca34
-	special $002e
+	special Function8c084
 	cry VOLTORB
-	special $0031
+	special Function8c079
 	setlasttalked $ff
 	writecode $3, BATTLETYPE_TRAP
 	loadpokedata VOLTORB, 23
@@ -470,9 +470,9 @@
 	end
 
 GeodudeExplodingTrap: ; 0x6ca47
-	special $002e
+	special Function8c084
 	cry GEODUDE
-	special $0031
+	special Function8c079
 	setlasttalked $ff
 	writecode $3, BATTLETYPE_TRAP
 	loadpokedata GEODUDE, 21
@@ -480,9 +480,9 @@
 	end
 
 KoffingExplodingTrap: ; 0x6ca5a
-	special $002e
+	special Function8c084
 	cry KOFFING
-	special $0031
+	special Function8c079
 	setlasttalked $ff
 	writecode $3, BATTLETYPE_TRAP
 	loadpokedata KOFFING, 21
--- a/maps/TeamRocketBaseB2F.asm
+++ b/maps/TeamRocketBaseB2F.asm
@@ -106,8 +106,8 @@
 	writetext UnknownText_0x6d4c6
 	closetext
 	loadmovesprites
-	special $0030
-	special $0033
+	special Function8c0b6
+	special Functiond91
 	disappear $2
 	disappear $3
 	disappear $c
@@ -114,7 +114,7 @@
 	disappear $d
 	disappear $e
 	pause 15
-	special $0032
+	special Function8c0ab
 	dotrigger $2
 	clearevent $06d6
 	spriteface $4, $0
@@ -167,11 +167,11 @@
 	writetext UnknownText_0x6da97
 	closetext
 	loadmovesprites
-	special $002e
-	special $009d
+	special Function8c084
+	special Function1060a2
 	playsound SFX_FULL_HEAL
-	special $001b
-	special $0031
+	special Functionc658
+	special Function8c079
 	loadfont
 	writetext UnknownText_0x6daf7
 	closetext
@@ -292,7 +292,7 @@
 	checkevent $06e2
 	iffalse UnknownScript_0x6d182
 	returnafterbattle
-	special $003c
+	special PlayMapMusic
 	applymovement $0, MovementData_0x6d28c
 	jump UnknownScript_0x6d184
 ; 0x6d12c
@@ -311,7 +311,7 @@
 	checkevent $06e2
 	iffalse UnknownScript_0x6d182
 	returnafterbattle
-	special $003c
+	special PlayMapMusic
 	applymovement $0, MovementData_0x6d299
 	jump UnknownScript_0x6d184
 ; 0x6d157
@@ -330,7 +330,7 @@
 	checkevent $06e2
 	iffalse UnknownScript_0x6d182
 	returnafterbattle
-	special $003c
+	special PlayMapMusic
 	applymovement $0, MovementData_0x6d2a4
 	jump UnknownScript_0x6d184
 ; 0x6d182
--- a/maps/TeamRocketBaseB3F.asm
+++ b/maps/TeamRocketBaseB3F.asm
@@ -63,7 +63,7 @@
 UnknownScript_0x6e019: ; 0x6e019
 	spriteface $0, $2
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	appear $a
 	applymovement $a, MovementData_0x6e164
 	spriteface $0, $2
@@ -77,7 +77,7 @@
 	applymovement $a, MovementData_0x6e16d
 	disappear $a
 	dotrigger $2
-	special $003d
+	special RestartMapMusic
 	end
 ; 0x6e048
 
--- a/maps/TimeCapsule.asm
+++ b/maps/TimeCapsule.asm
@@ -24,7 +24,7 @@
 ; 0x1934fd
 
 UnknownScript_0x1934fd: ; 0x1934fd
-	special $0010
+	special Function29f47
 	iffalse UnknownScript_0x193508
 	disappear $3
 	appear $2
@@ -44,7 +44,7 @@
 ; 0x193514
 
 MapTimeCapsuleSignpost1Script: ; 0x193514
-	special $000f
+	special Function29eaf
 	newloadmap $f8
 	end
 ; 0x19351a
--- a/maps/TinTower1F.asm
+++ b/maps/TinTower1F.asm
@@ -30,7 +30,7 @@
 	iftrue UnknownScript_0x185047
 	checkevent $0044
 	iffalse UnknownScript_0x185050
-	special $0096
+	special SpecialBeastsCheck
 	iffalse UnknownScript_0x185050
 	clearevent $07c5
 	setevent $07b6
@@ -47,7 +47,7 @@
 	iftrue UnknownScript_0x185077
 	appear $2
 	writebyte RAIKOU
-	special $0097
+	special SpecialMonCheck
 	iftrue UnknownScript_0x185065
 	appear $3
 	jump UnknownScript_0x185067
@@ -57,7 +57,7 @@
 	disappear $3
 UnknownScript_0x185067: ; 0x185067
 	writebyte ENTEI
-	special $0097
+	special SpecialMonCheck
 	iftrue UnknownScript_0x185074
 	appear $4
 	jump UnknownScript_0x185076
@@ -90,7 +90,7 @@
 	applymovement $0, MovementData_0x1851cb
 	pause 15
 	writebyte RAIKOU
-	special $0097
+	special SpecialMonCheck
 	iftrue UnknownScript_0x1850b6
 	applymovement $3, MovementData_0x1851d0
 	spriteface $0, $2
@@ -103,7 +103,7 @@
 	waitbutton
 UnknownScript_0x1850b6: ; 0x1850b6
 	writebyte ENTEI
-	special $0097
+	special SpecialMonCheck
 	iftrue UnknownScript_0x1850d7
 	applymovement $4, MovementData_0x1851da
 	spriteface $0, $3
@@ -167,7 +167,7 @@
 	playsound SFX_EXIT_BUILDING
 	disappear $5
 	waitbutton
-	special $006a
+	special Functionc48f
 	pause 20
 	playmapmusic
 	end
--- a/maps/TradeCenter.asm
+++ b/maps/TradeCenter.asm
@@ -24,7 +24,7 @@
 ; 0x1933ee
 
 UnknownScript_0x1933ee: ; 0x1933ee
-	special $0010
+	special Function29f47
 	iffalse UnknownScript_0x1933f9
 	disappear $3
 	appear $2
@@ -44,7 +44,7 @@
 ; 0x193405
 
 MapTradeCenterSignpost1Script: ; 0x193405
-	special $000d
+	special Function29ec4
 	newloadmap $f8
 	end
 ; 0x19340b
--- a/maps/TrainerHouseB1F.asm
+++ b/maps/TrainerHouseB1F.asm
@@ -20,7 +20,7 @@
 	iftrue UnknownScript_0x9b3f7
 	writetext UnknownText_0x9b420
 	keeptextopen
-	special $0067
+	special SpecialTrainerHouse
 	iffalse UnknownScript_0x9b3a6
 	trainertotext CAL, CAL2, $0
 	jump UnknownScript_0x9b3aa
@@ -43,7 +43,7 @@
 	writetext UnknownText_0x9b587
 	closetext
 	loadmovesprites
-	special $0067
+	special SpecialTrainerHouse
 	iffalse UnknownScript_0x9b3dc
 	winlosstext UnknownText_0x9b578, $0000
 	setlasttalked $3
--- a/maps/UndergroundPathSwitchRoomEntrances.asm
+++ b/maps/UndergroundPathSwitchRoomEntrances.asm
@@ -86,7 +86,7 @@
 UnknownScript_0x7ca80: ; 0x7ca80
 	spriteface $0, $3
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	playsound SFX_EXIT_BUILDING
 	appear $c
@@ -106,7 +106,7 @@
 UnknownScript_0x7caaa: ; 0x7caaa
 	spriteface $0, $3
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	playsound SFX_EXIT_BUILDING
 	appear $c
--- a/maps/VermilionCity.asm
+++ b/maps/VermilionCity.asm
@@ -43,7 +43,7 @@
 
 BigSnorlaxScript_0x1aa99e: ; 0x1aa99e
 	loadfont
-	special $0060
+	special SpecialSnorlaxAwake
 	iftrue UnknownScript_0x1aa9ab
 	writetext UnknownText_0x1aab64
 	closetext
--- a/maps/VermilionPort.asm
+++ b/maps/VermilionPort.asm
@@ -57,7 +57,7 @@
 	waitbutton
 	applymovement $0, MovementData_0x74ef1
 	playsound SFX_EXIT_BUILDING
-	special $002e
+	special Function8c084
 	waitbutton
 	setevent $073a
 	clearevent $073b
--- a/maps/VictoryRoad.asm
+++ b/maps/VictoryRoad.asm
@@ -22,7 +22,7 @@
 	moveperson $2, $12, $b
 	spriteface $0, $0
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	appear $2
 	applymovement $2, MovementData_0x74539
@@ -37,7 +37,7 @@
 UnknownScript_0x744b5: ; 0x744b5
 	spriteface $0, $0
 	showemote $0, $0, 15
-	special $006a
+	special Functionc48f
 	pause 15
 	appear $2
 	applymovement $2, MovementData_0x74542
--- a/maps/VioletCity.asm
+++ b/maps/VioletCity.asm
@@ -42,7 +42,7 @@
 	spriteface $0, $1
 	applymovement $2, MovementData_0x1a8465
 	stopfollow
-	special $003d
+	special RestartMapMusic
 	loadfont
 	writetext UnknownText_0x1a84f9
 	closetext
--- a/maps/WarehouseEntrance.asm
+++ b/maps/WarehouseEntrance.asm
@@ -272,7 +272,7 @@
 UnknownScript_0x7c173: ; 0x7c173
 	checkflag $005a
 	iftrue UnknownScript_0x7c208
-	special $0051
+	special Function24ae8
 	writetext UnknownText_0x7c5f9
 	yesorno
 	iffalse UnknownScript_0x7c1fc
@@ -280,7 +280,7 @@
 	if_equal $2, UnknownScript_0x7c202
 	writetext UnknownText_0x7c69a
 	keeptextopen
-	special $0061
+	special Function7413
 	if_equal $0, UnknownScript_0x7c1fc
 	if_equal $1, UnknownScript_0x7c1fc
 	setflag $005a
@@ -312,15 +312,15 @@
 
 UnknownScript_0x7c1cd: ; 0x7c1cd
 	takemoney $0, 500
-	special $0051
+	special Function24ae8
 	writetext UnknownText_0x7c6b8
 	closetext
 	loadmovesprites
-	special $002e
+	special Function8c084
 	playmusic MUSIC_HEAL
 	pause 60
-	special $0031
-	special $003d
+	special Function8c079
+	special RestartMapMusic
 	loadfont
 	writetext UnknownText_0x7c6d8
 	closetext
@@ -364,7 +364,7 @@
 UnknownScript_0x7c220: ; 0x7c220
 	checkflag $005a
 	iftrue UnknownScript_0x7c2b5
-	special $0051
+	special Function24ae8
 	writetext UnknownText_0x7c75c
 	yesorno
 	iffalse UnknownScript_0x7c2a9
@@ -372,7 +372,7 @@
 	if_equal $2, UnknownScript_0x7c2af
 	writetext UnknownText_0x7c7f1
 	keeptextopen
-	special $0062
+	special Function7418
 	if_equal $0, UnknownScript_0x7c2a9
 	if_equal $1, UnknownScript_0x7c2a9
 	setflag $005a
@@ -404,15 +404,15 @@
 
 UnknownScript_0x7c27a: ; 0x7c27a
 	takemoney $0, 300
-	special $0051
+	special Function24ae8
 	writetext UnknownText_0x7c80e
 	closetext
 	loadmovesprites
-	special $002e
+	special Function8c084
 	playmusic MUSIC_HEAL
 	pause 60
-	special $0031
-	special $003d
+	special Function8c079
+	special RestartMapMusic
 	loadfont
 	writetext UnknownText_0x7c82a
 	closetext
@@ -446,7 +446,7 @@
 
 UnknownScript_0x7c2bb: ; 0x7c2bb
 	writetext UnknownText_0x7c8bf
-	special $0064
+	special Functionc472
 	closetext
 	loadmovesprites
 	end
@@ -454,7 +454,7 @@
 
 UnknownScript_0x7c2c4: ; 0x7c2c4
 	writetext UnknownText_0x7c8dc
-	special $0064
+	special Functionc472
 	closetext
 	loadmovesprites
 	end
@@ -462,7 +462,7 @@
 
 UnknownScript_0x7c2cd: ; 0x7c2cd
 	writetext UnknownText_0x7c8ee
-	special $0064
+	special Functionc472
 	closetext
 	loadmovesprites
 	end