<commit_before>
SECTION "Player house map", ROMX
PlayerHouse::
	db $80 ; Interior map
	
	db MUSIC_SAFE_PLACE ; Music ID
	
	db TILESET_INTERIOR
	dw NO_SCRIPT ; No map script
	map_size 10, 9
	dw NO_SCRIPT ; No loading script
	
PlayerHouseInteractions::
	db 3
	
	db WALK_LOADZONE
	interact_box $0077, $003E, 10, $15
	db THREAD2_LOADINGWALKDOWN
	db 3
	db MAP_STARTHAM
	ds 7
	
	db WALK_LOADZONE
	interact_box $0008, $FFFE, 16, 16
	db THREAD2_LOADINGSTAIRSUP_LEFT
	db 0
	db MAP_PLAYER_HOUSE_2F
	ds 7
	
	db BTN_INTERACT
	interact_box $0008, $0080, 16, 16
	dw PlayerHouseTVScript
	ds 8
	
PlayerHouseNPCs::
	db 3
	
	dw 0 ; No flag dependency
	interact_box $0060, $0000, 0, 0
	db 0 ; Interaction ID
	db $0A << 2 | DIR_LEFT ; Sprite ID & direction
	dn 1, 1, 1, 1 ; Palette IDs
	db $00 ; Movement permissions
	db $00 ; Movement speed
	
	flag_dep FLAG_SET, FLAG_LOAD_CUTSCENE_NPCS
	interact_box $0090, $0048, 16, 16
	db 0
	db 1 << 2 | DIR_UP
	dn 2, 2, 2, 2
	db 0
	db 0
	
	flag_dep FLAG_SET, FLAG_SIBLING_WATCHING_TV
	interact_box $0039, $0080, 16, 16
	db 0
	db 1 << 2 | DIR_UP
	dn 2, 2, 2, 2
	db 0
	db 0
	
	db 1 ; Number of NPC scripts
	dw PlayerHouseNPCScripts ; Obligatory no matter the above value
	
	db 1 ; Number of NPC tile sets
	db 0 ; Special trigger : load opposite gender's tiles (if Evie, load Tom, etc.)
	
PlayerHouseWarpToPoints::
	db 2 ; Number of warp-to points
	
	dw $0076 ; Y pos
	dw $0048 ; X pos
	db DIR_UP ; Direction
	db NO_WALKING ; Flags
	db 0
	db THREAD2_AFTERLOADINGWALKUP
	dw NO_SCRIPT ; Loading script (none)
	ds 6
	
	dw $0010
	dw $000F
	db DIR_RIGHT
	db NO_WALKING
	db 0
	db THREAD2_DISABLED
	dw NO_SCRIPT
	ds 6
	
PlayerHouseBlocks::
INCBIN "maps/playerhouse.blk"
	
	
PlayerHouseNPCScripts::
	dw PlayerHouseSiblingTVScript
	
	
	set_text_prefix PlayerHouseSiblingTVScript
PlayerHouseSiblingTVScript::
	print_name SiblingName
	print_line_id 0
	print_line_id 1
	print_line_id 2
	wait_user
	close_box
	turn_npc 1, DIR_UP
	done
	
	
	set_text_prefix PlayerHouseTV
PlayerHouseTVScript::
	text_get_flag FLAG_SIBLING_WATCHING_TV
.source1
	text_jr cond_z, .branch1 - .source1
	<commit_msg>Fix sibling name in player house<commit_after>
SECTION "Player house map", ROMX
PlayerHouse::
	db $80 ; Interior map
	
	db MUSIC_SAFE_PLACE ; Music ID
	
	db TILESET_INTERIOR
	dw NO_SCRIPT ; No map script
	map_size 10, 9
	dw NO_SCRIPT ; No loading script
	
PlayerHouseInteractions::
	db 3
	
	db WALK_LOADZONE
	interact_box $0077, $003E, 10, $15
	db THREAD2_LOADINGWALKDOWN
	db 3
	db MAP_STARTHAM
	ds 7
	
	db WALK_LOADZONE
	interact_box $0008, $FFFE, 16, 16
	db THREAD2_LOADINGSTAIRSUP_LEFT
	db 0
	db MAP_PLAYER_HOUSE_2F
	ds 7
	
	db BTN_INTERACT
	interact_box $0008, $0080, 16, 16
	dw PlayerHouseTVScript
	ds 8
	
PlayerHouseNPCs::
	db 3
	
	dw 0 ; No flag dependency
	interact_box $0060, $0000, 0, 0
	db 0 ; Interaction ID
	db $0A << 2 | DIR_LEFT ; Sprite ID & direction
	dn 1, 1, 1, 1 ; Palette IDs
	db $00 ; Movement permissions
	db $00 ; Movement speed
	
	flag_dep FLAG_SET, FLAG_LOAD_CUTSCENE_NPCS
	interact_box $0090, $0048, 16, 16
	db 0
	db 1 << 2 | DIR_UP
	dn 2, 2, 2, 2
	db 0
	db 0
	
	flag_dep FLAG_SET, FLAG_SIBLING_WATCHING_TV
	interact_box $0039, $0080, 16, 16
	db 0
	db 1 << 2 | DIR_UP
	dn 2, 2, 2, 2
	db 0
	db 0
	
	db 1 ; Number of NPC scripts
	dw PlayerHouseNPCScripts ; Obligatory no matter the above value
	
	db 1 ; Number of NPC tile sets
	db 0 ; Special trigger : load opposite gender's tiles (if Evie, load Tom, etc.)
	
PlayerHouseWarpToPoints::
	db 2 ; Number of warp-to points
	
	dw $0076 ; Y pos
	dw $0048 ; X pos
	db DIR_UP ; Direction
	db NO_WALKING ; Flags
	db 0
	db THREAD2_AFTERLOADINGWALKUP
	dw NO_SCRIPT ; Loading script (none)
	ds 6
	
	dw $0010
	dw $000F
	db DIR_RIGHT
	db NO_WALKING
	db 0
	db THREAD2_DISABLED
	dw NO_SCRIPT
	ds 6
	
PlayerHouseBlocks::
INCBIN "maps/playerhouse.blk"
	
	
PlayerHouseNPCScripts::
	dw PlayerHouseSiblingTVScript
	
	
	set_text_prefix PlayerHouseSiblingTVScript
PlayerHouseSiblingTVScript::
	print_name
	print_line_id 0
	print_line_id 1
	print_line_id 2
	wait_user
	close_box
	turn_npc 1, DIR_UP
	done
	
	
	set_text_prefix PlayerHouseTV
PlayerHouseTVScript::
	text_get_flag FLAG_SIBLING_WATCHING_TV
.source1
	text_jr cond_z, .branch1 - .source1
	
{'fraction_non_alphanumeric': 0.05864123957091776, 'fraction_numerical': 0.06769964243146603, 'mean_word_length': 3.7954285714285714, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '768933', 'n_tokens_mistral': 2084, 'n_tokens_neox': 1718, 'n_words': 552}