You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/Text/regular/scr_vird_theultramew.rbc
+178
Original file line number
Diff line number
Diff line change
@@ -0,0 +1,178 @@
1
+
#include stditems.rbh
2
+
3
+
#dynamic 0x800000
4
+
'---------------
5
+
#org 0x169ECA
6
+
setvar 0x8004 0xF
7
+
setvar 0x8005 0x2
8
+
special 0x174 'fame checker stuff
9
+
trainerbattle 0x1 0x15E 0x0 @msg_before @msg_onLoseFight 0x8169F04 'do a battle
10
+
checkflag 0x298 'has the TM26 been given yet?
11
+
if 0x0 goto 0x8169F2F 'if not, then give it right away
12
+
msgbox @msg_default MSG_KEEPOPEN '"Having lost in this fashion, \nI c..."
13
+
closeonkeypress 'close msgbox
14
+
fadescreen 0x1 'fade to black
15
+
hidesprite 0x8 'Giovanni disappears
16
+
fadescreen 0x0 'fade from black to normal
17
+
release 'it's over!
18
+
end
19
+
20
+
'---------------
21
+
#org 0x169F04
22
+
setvar 0x8004 0xF
23
+
setvar 0x8005 0x3
24
+
special 0x173 'fame checker stuff
25
+
setflag 0xAD 'grunts on mt moon and rocket hideout disappear (?)
26
+
setflag 0x4B7 'change "champ-in-making" guy
27
+
setflag 0x827 'set badge
28
+
setvar 0x4054 0x3 'enable script for next rival fight
29
+
setvar 0x8008 0x8 'gym badge number is now 8
30
+
call 0x8800000 'see Misty's script
31
+
goto 0x8169F2F 'continue with actual words
32
+
33
+
'---------------
34
+
#org 0x169F2F
35
+
msgbox @msg_earthbadge MSG_KEEPOPEN '"The EARTHBADGE makes POK�MON of\na..."
36
+
checkitemroom ITEM_TM26 0x1 'is there enough room for one TM26?
37
+
compare LASTRESULT 0x0 'if not...
38
+
if 0x1 goto 0x8169F70 '...then be liek "wut"
39
+
additem ITEM_TM26 0x1
40
+
loadpointer 0x0 @msg_itemGet '"[player] received TM26\nfrom GIOVA..."
41
+
giveitem2 ITEM_TM26 0x1 0x101 'blah blah blah
42
+
setflag 0x298 'TM has been gotten
43
+
msgbox @msg_afterItemGet MSG_KEEPOPEN '"TM26 contains EARTHQUAKE.\pIt is a..."
44
+
release
45
+
end
46
+
47
+
'---------------
48
+
'---- #org 0x1A6B18
49
+
'---- copyvar 0x8000 0x8008
50
+
'---- compare 0x8000 0x1
51
+
'---- if 0x1 goto 0x81A6B76
52
+
'---- compare 0x8000 0x2
53
+
'---- if 0x1 goto 0x81A6B7A
54
+
'---- compare 0x8000 0x3
55
+
'---- if 0x1 goto 0x81A6B81
56
+
'---- compare 0x8000 0x4
57
+
'---- if 0x1 goto 0x81A6B8B
58
+
'---- compare 0x8000 0x5
59
+
'---- if 0x1 goto 0x81A6BA1
60
+
'---- compare 0x8000 0x6
61
+
'---- if 0x1 goto 0x81A6BB4
62
+
'---- compare 0x8000 0x7
63
+
'---- if 0x1 goto 0x81A6BCA
64
+
'---- compare 0x8000 0x8
65
+
'---- if 0x1 goto 0x81A6BE0
66
+
'---- end
67
+
68
+
'---------------
69
+
#org 0x169F70 '"wut"
70
+
msgbox @msg_wut MSG_KEEPOPEN '"You do not have space for this!"
71
+
release
72
+
end
73
+
74
+
'---------------
75
+
'---- #org 0x1A6B76
76
+
'---- cleartrainerflag 0x8E
77
+
'---- return
78
+
79
+
'---------------
80
+
'---- #org 0x1A6B7A
81
+
'---- cleartrainerflag 0x96
82
+
'---- cleartrainerflag 0xEA
83
+
'---- return
84
+
85
+
'---------------
86
+
'---- #org 0x1A6B81
87
+
'---- cleartrainerflag 0x8D
88
+
'---- cleartrainerflag 0xDC
89
+
'---- cleartrainerflag 0x1A7
90
+
'---- return
91
+
92
+
'---------------
93
+
'---- #org 0x1A6B8B
94
+
'---- cleartrainerflag 0x84
95
+
'---- cleartrainerflag 0x85
96
+
'---- cleartrainerflag 0xA0
97
+
'---- cleartrainerflag 0x109
98
+
'---- cleartrainerflag 0x10A
99
+
'---- cleartrainerflag 0x10B
100
+
'---- cleartrainerflag 0x192
101
+
'---- return
102
+
103
+
'---------------
104
+
'---- #org 0x1A6BA1
105
+
'---- cleartrainerflag 0x126
106
+
'---- cleartrainerflag 0x127
107
+
'---- cleartrainerflag 0x120
108
+
'---- cleartrainerflag 0x121
109
+
'---- cleartrainerflag 0x124
110
+
'---- cleartrainerflag 0x125
111
+
'---- return
112
+
113
+
'---------------
114
+
'---- #org 0x1A6BB4
115
+
'---- cleartrainerflag 0x118
116
+
'---- cleartrainerflag 0x119
117
+
'---- cleartrainerflag 0x11A
118
+
'---- cleartrainerflag 0x11B
119
+
'---- cleartrainerflag 0x1CE
120
+
'---- cleartrainerflag 0x1CF
121
+
'---- cleartrainerflag 0x1D0
122
+
'---- return
123
+
124
+
'---------------
125
+
'---- #org 0x1A6BCA
126
+
'---- cleartrainerflag 0xB1
127
+
'---- cleartrainerflag 0xB2
128
+
'---- cleartrainerflag 0xB3
129
+
'---- cleartrainerflag 0xB4
130
+
'---- cleartrainerflag 0xD5
131
+
'---- cleartrainerflag 0xD6
132
+
'---- cleartrainerflag 0xD7
133
+
'---- return
134
+
135
+
'---------------
136
+
'---- #org 0x1A6BE0
137
+
'---- cleartrainerflag 0x128
138
+
'---- cleartrainerflag 0x129
139
+
'---- cleartrainerflag 0x142
140
+
'---- cleartrainerflag 0x143
141
+
'---- cleartrainerflag 0x144
142
+
'---- cleartrainerflag 0x188
143
+
'---- cleartrainerflag 0x190
144
+
'---- cleartrainerflag 0x191
145
+
'---- return
146
+
147
+
148
+
'---------
149
+
' Strings
150
+
'---------
151
+
#org @msg_before '0x18F352
152
+
= Wait.\pI'm called THEULTRAMEW, but I'm a\nTRAINER[.]? Huh.\pWell, I am the final GYM LEADER so\nI WILL DEFEAT YOU!
153
+
'original = Fwahahaha!\nWelcome to my hideout!\pIt shall be so until I can restore\nTEAM ROCKET to its former glory.\pBut, you have found me again.\nSo be it.\lThis time, I'm not holding back!\pOnce more, you shall face\nGIOVANNI, the greatest TRAINER!\c\h0B��
154
+
155
+
#org @msg_onLoseFight '0x18F43F
156
+
= Whoa! That's, like, stuff worthy\nof the EARTHBADGE! Congrats!\n\c\h17\c\h0B��\c\h08\n\c\h08[Ke]\c\h18
157
+
'original = Ha!\nThat was a truly intense fight.\lYou have won!\pAs proof, here is the EARTHBADGE!\n\c\h17\c\h0B��\c\h08\n\c\h08[Ke]\c\h18
158
+
159
+
#org @msg_default '0x18F4A2
160
+
= Well, since someone else is\nsuperior over me[.]\p[.]there's no way TEAM ROCKET would\naccept me in our ISP conquest.\pI'll be out having a NESSIE PARTY\nsomewhere with a few friends.\l
161
+
\lYou wanna see a magic trick? Just\lclose your eyes for a second!
162
+
'original = Having lost in this fashion, \nI can't face my followers.\lI have betrayed their trust.\pAs of today, TEAM ROCKET is\nfinished forever!\pAs for myself, I shall dedicate\nmy life to training again.\pLet us meet again someday!\nFarewell!
163
+
164
+
#org @msg_earthbadge '0x18F586
165
+
= With the EARTHBADGE, you can trade\nin a shiny level-100 MEW[.]\p[.]and it'll still obey you. Plus\nit'll have the badge's stat boost!\pAlso, take the awesomest TM of all\ntime. You might need it coming up.
166
+
'original = The EARTHBADGE makes POK�MON of\nany level obey without question.\pIt is evidence of your mastery as\na POK�MON TRAINER.\pWith it, you can challenge the\nPOK�MON LEAGUE.\pAlso, take this TM.\pConsider it a gift for your POK�MON\nLEAGUE challenge.
167
+
168
+
#org @msg_itemGet '0x18F675
169
+
= [player] received TM26\nfrom THEULTRAMEW.
170
+
'original = [player] received TM26\nfrom GIOVANNI.
171
+
172
+
#org @msg_afterItemGet '0x18F695
173
+
= Make the ground shake\nwith humongous EARTHQUAKEs!\pWhat more's there to say than\nthat? It's EARTHQUAKE!
174
+
'original = TM26 contains EARTHQUAKE.\pIt is a powerful attack that causes\na massive tremor.\pI made it when I ran the GYM here,\nfar too long ago[.]
175
+
176
+
#org @msg_wut '0x18F71B
177
+
= [.]Come on, [player].\nYou're better than that!\pClear out some space in your TM\ncase, would you?
0 commit comments