2019-01-01 20:06:23 +00:00
|
|
|
CinnabarLabMetronomeRoom_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
CinnabarLabMetronomeRoom_TextPointers:
|
2014-05-18 18:19:10 +00:00
|
|
|
dw Lab3Text1
|
|
|
|
dw Lab3Text2
|
|
|
|
dw Lab3Text3
|
|
|
|
dw Lab3Text4
|
|
|
|
dw Lab3Text5
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
Lab3Text1:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_GOT_TM35
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nz, .got_item
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, TM35PreReceiveText
|
|
|
|
call PrintText
|
2020-07-06 02:52:27 +00:00
|
|
|
lb bc, TM_METRONOME, 1
|
2014-05-18 18:19:10 +00:00
|
|
|
call GiveItem
|
2020-07-16 15:19:05 +00:00
|
|
|
jr nc, .bag_full
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, ReceivedTM35Text
|
|
|
|
call PrintText
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_GOT_TM35
|
2020-07-16 15:19:05 +00:00
|
|
|
jr .done
|
|
|
|
.bag_full
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, TM35NoRoomText
|
|
|
|
call PrintText
|
2020-07-16 15:19:05 +00:00
|
|
|
jr .done
|
|
|
|
.got_item
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, TM35ExplanationText
|
|
|
|
call PrintText
|
2020-07-16 15:19:05 +00:00
|
|
|
.done
|
2014-05-18 18:19:10 +00:00
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
TM35PreReceiveText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TM35PreReceiveText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
ReceivedTM35Text:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _ReceivedTM35Text
|
|
|
|
sound_get_item_1
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
TM35ExplanationText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TM35ExplanationText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
TM35NoRoomText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TM35NoRoomText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
Lab3Text2:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _Lab3Text2
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
Lab3Text4:
|
|
|
|
Lab3Text3:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _Lab3Text3
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
Lab3Text5:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _Lab3Text5
|
|
|
|
text_end
|