Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

Hollow Knight: the Mender Bug, the Crossroads sign, debris sprites, uninfected deaths

Mason Chen991efa28f666
diff --git a/games/hollowknight/src/data.bin b/games/hollowknight/src/data.bin
index c63be122..463d1360 100644
Binary files a/games/hollowknight/src/data.bin and b/games/hollowknight/src/data.bin differ
diff --git a/games/hollowknight/src/data.h b/games/hollowknight/src/data.h
index a0306c1b..12789fda 100644
--- a/games/hollowknight/src/data.h
+++ b/games/hollowknight/src/data.h
@@ -520,154 +520,160 @@
#define CLIP_HORNET_THROW_RECOVER 460
#define CLIP_HORNET_WALL_IMPACT 461
#define CLIP_HORNET_WOUNDED 462
-#define CLIP_BGATE_BG_CLOSE_1 463
-#define CLIP_BGATE_BG_CLOSE_2 464
-#define CLIP_BGATE_BG_CLOSED 465
-#define CLIP_BGATE_BG_OPEN 466
-#define CLIP_BGATE_BG_OPENED 467
-#define CLIP_BGATE_BONE_GATE_CLOSE 468
-#define CLIP_BGATE_BONE_GATE_CLOSED 469
-#define CLIP_BGATE_BONE_GATE_OPEN 470
-#define CLIP_BGATE_BONE_GATE_OPENED 471
-#define CLIP_BGATE_GATE_IDLE 472
-#define CLIP_BGATE_GATE_OPEN 473
-#define CLIP_BGATE_GATE_OPENED 474
-#define CLIP_BGATE_PILLAR_IDLE 475
-#define CLIP_BGATE_PILLAR_OPENED 476
-#define CLIP_BGATE_SWITCH_ACTIVATED 477
-#define CLIP_BGATE_SWITCH_HIT 478
-#define CLIP_BGATE_SWITCH_IDLE 479
-#define CLIP_BGATE_TOLL_GATE_IDLE 480
-#define CLIP_BGATE_TOLL_GATE_OPEN 481
-#define CLIP_COCOON_COCOON_IDLE 482
-#define CLIP_COCOON_COCOON_SWEAT 483
-#define CLIP_COCOON_SCUTTLER_LAND 484
-#define CLIP_COCOON_SCUTTLER_RUN 485
-#define CLIP_FX_SPLAT 486
-#define CLIP_FX_SPLAT2 487
-#define CLIP_FX_SWORD 488
-#define CLIP_FIREBALL_BLAST 489
-#define CLIP_FIREBALL_BALL 490
-#define CLIP_FIREBALL_BALL_END 491
-#define CLIP_FIREBALL_FIREBALL_WALL_IMPACT 492
-#define CLIP_DRIP_IDLE 493
-#define CLIP_DRIP_DRIP 494
-#define CLIP_DRIP_FALL 495
-#define CLIP_DRIP_IMPACT 496
-#define CLIP_HORNETCS_EVADE 497
-#define CLIP_HORNETCS_EVADE_ANTIC 498
-#define CLIP_HORNETCS_FALL 499
-#define CLIP_HORNETCS_HARPOON_SIDE 500
-#define CLIP_HORNETCS_IDLE 501
-#define CLIP_HORNETCS_JUMP_FULL 502
-#define CLIP_HORNETCS_POINT 503
-#define CLIP_HORNETCS_RUN 504
-#define CLIP_HORNETCS_SOFT_LAND 505
-#define CLIP_HORNETCS_THREAD_1 506
-#define CLIP_HORNETCS_THROW_SIDE 507
-#define CLIP_HORNETCS_THROW_SIDE_START 508
-#define CLIP_HORNETCS_TURN 509
-#define CLIP_HORNETCS_TURNTOIDLE 510
-#define CLIP_BULLET_IDLE 511
-#define CLIP_BULLET_IMPACT 512
-#define CLIP_BULLET_SHOCKWAVE_SPURT 513
-#define CLIP_PROP0_WATERFALL_LOOP 514
-#define CLIP_PROP1_TORCH2 515
-#define CLIP_PROP1_TORCH3 516
-#define CLIP_VM0_FLOWER 517
-#define CLIP_VM0_IDLE 518
-#define CLIP_VM0_REACH 519
-#define CLIP_VM0_REACH_TO_IDLE 520
-#define CLIP_VM0_TALK_LEFT 521
-#define CLIP_VM0_TALK_RIGHT 522
-#define CLIP_VM0_TURN_LEFT 523
-#define CLIP_VM0_TURN_RIGHT 524
-#define CLIP_VM2_IDLE 525
-#define CLIP_VM2_LOOKLEFT 526
-#define CLIP_VM2_LOOKRIGHT 527
-#define CLIP_VM3_IDLE 528
-#define CLIP_VM3_TALK 529
-#define CLIP_VM3_TALK_END 530
-#define CLIP_VM4_IDLE 531
-#define CLIP_VM4_LOOKLEFT 532
-#define CLIP_VM4_LOOKRIGHT 533
-#define CLIP_VM4_SIT 534
-#define CLIP_VM4_SIT_TALK 535
-#define CLIP_VM4_SIT_TALK_END 536
-#define CLIP_VM5_ARRIVE 537
-#define CLIP_VM5_ARRIVE_SMOKE 538
-#define CLIP_VM5_IDLE 539
-#define CLIP_VM6_BELL_IDLE 540
-#define CLIP_VM6_BELL_RING_R 541
-#define CLIP_VM6_BELL_STAND 542
-#define CLIP_VM6_BELL_STAND_APPEAR 543
-#define CLIP_VM6_BOX_DISAPPEAR 544
-#define CLIP_VM6_BOX_DISAPPEAR_QUICK 545
-#define CLIP_VM6_BOX_IDLE 546
-#define CLIP_VM6_FRONT 547
-#define CLIP_VM6_GRATE_DISAPPEAR 548
-#define CLIP_VM6_GRATE_IDLE 549
-#define CLIP_VM8_DAZED 550
-#define CLIP_VM8_IDLE 551
-#define CLIP_VM8_TURN_L 552
-#define CLIP_VM8_TURN_R 553
-#define CLIP_VM8_WAKE 554
-#define CLIP_VM11_HEGEMOL_CAST 555
-#define CLIP_VM11_HEGEMOL_IDLE 556
-#define CLIP_VM11_LURIEN_CAST 557
-#define CLIP_VM11_LURIEN_IDLE 558
-#define CLIP_VM11_MONOMON_CAST 559
-#define CLIP_VM11_MONOMON_IDLE 560
-#define CLIP_VM12_IDLE 561
-#define CLIP_VM12_SIT_IDLE 562
-#define CLIP_VM12_SIT_TALK 563
-#define CLIP_VM12_SIT_TALK_END 564
-#define CLIP_VM12_SUMMON 565
-#define CLIP_VM12_TALK 566
-#define CLIP_VM12_TALK_END 567
-#define CLIP_VM12_TURN 568
-#define CLIP_VM14_IDLE 569
-#define CLIP_VM14_LOOK_LEFT 570
-#define CLIP_VM14_LOOK_RIGHT 571
-#define CLIP_VM14_TALK_CONVO_END 572
-#define CLIP_VM14_TALK_CONVO_START 573
-#define CLIP_VM14_TALK_SHOP_END 574
-#define CLIP_VM14_TALK_SHOP_START 575
-#define CLIP_VM15_IDLE 576
-#define CLIP_VM15_SHOP_END 577
-#define CLIP_VM15_SHOP_START 578
-#define CLIP_VM15_TALK_END 579
-#define CLIP_VM15_TALK_START 580
-#define CLIP_VM16_CRY 581
-#define CLIP_VM16_CRY_TURN 582
-#define CLIP_VM16_FREED 583
-#define CLIP_VM16_HOME_BOUNCE 584
-#define CLIP_VM16_HOME_WAVE 585
-#define CLIP_VM16_IDLE 586
-#define CLIP_VM17_CRUMBLE 587
-#define CLIP_VM17_IDLE 588
-#define CLIP_VM18_BECKON 589
-#define CLIP_VM18_CHEER 590
-#define CLIP_VM18_CRY 591
-#define CLIP_VM18_GIFT 592
-#define CLIP_VM18_IDLE 593
-#define CLIP_VM20_RIPPLE_WATER 594
-#define CLIP_VM21_IDLE 595
-#define CLIP_VM21_TALK_L 596
-#define CLIP_VM21_TALK_L_END 597
-#define CLIP_VM21_TALK_R 598
-#define CLIP_VM21_TALK_R_END 599
-#define CLIP_ANIM0_STAG_DOOR_OPEN00 600
-#define CLIP_ANIM1_DASH_CLOAK_CORPSE000 601
-#define CLIP_ANIM2_GROUND_PLINK_0 602
-#define CLIP_ANIM3_FIREBALL_COLLECT_ANIM 603
-#define SPRITE_HERO_LIGHT 2991
-#define SPRITE_DIALOGUE_BACKBOARD 2992
-#define SPRITE_PROMPT_SHADOW 2993
-#define SPRITE_CORPSE_NAIL 2994
-#define SPRITE_FK_BARREL 2995
-#define SPRITE_FK_STAFF 2996
-#define SPRITE_DIGIT0 3541
+#define CLIP_MENDER_DEATH_AIR 463
+#define CLIP_MENDER_DEATH_LAND 464
+#define CLIP_MENDER_FLY 465
+#define CLIP_MENDER_IDLE 466
+#define CLIP_MENDER_STARTLE 467
+#define CLIP_BGATE_BG_CLOSE_1 468
+#define CLIP_BGATE_BG_CLOSE_2 469
+#define CLIP_BGATE_BG_CLOSED 470
+#define CLIP_BGATE_BG_OPEN 471
+#define CLIP_BGATE_BG_OPENED 472
+#define CLIP_BGATE_BONE_GATE_CLOSE 473
+#define CLIP_BGATE_BONE_GATE_CLOSED 474
+#define CLIP_BGATE_BONE_GATE_OPEN 475
+#define CLIP_BGATE_BONE_GATE_OPENED 476
+#define CLIP_BGATE_GATE_IDLE 477
+#define CLIP_BGATE_GATE_OPEN 478
+#define CLIP_BGATE_GATE_OPENED 479
+#define CLIP_BGATE_PILLAR_IDLE 480
+#define CLIP_BGATE_PILLAR_OPENED 481
+#define CLIP_BGATE_SWITCH_ACTIVATED 482
+#define CLIP_BGATE_SWITCH_HIT 483
+#define CLIP_BGATE_SWITCH_IDLE 484
+#define CLIP_BGATE_TOLL_GATE_IDLE 485
+#define CLIP_BGATE_TOLL_GATE_OPEN 486
+#define CLIP_COCOON_COCOON_IDLE 487
+#define CLIP_COCOON_COCOON_SWEAT 488
+#define CLIP_COCOON_SCUTTLER_LAND 489
+#define CLIP_COCOON_SCUTTLER_RUN 490
+#define CLIP_FX_SPLAT 491
+#define CLIP_FX_SPLAT2 492
+#define CLIP_FX_SWORD 493
+#define CLIP_FIREBALL_BLAST 494
+#define CLIP_FIREBALL_BALL 495
+#define CLIP_FIREBALL_BALL_END 496
+#define CLIP_FIREBALL_FIREBALL_WALL_IMPACT 497
+#define CLIP_DRIP_IDLE 498
+#define CLIP_DRIP_DRIP 499
+#define CLIP_DRIP_FALL 500
+#define CLIP_DRIP_IMPACT 501
+#define CLIP_HORNETCS_EVADE 502
+#define CLIP_HORNETCS_EVADE_ANTIC 503
+#define CLIP_HORNETCS_FALL 504
+#define CLIP_HORNETCS_HARPOON_SIDE 505
+#define CLIP_HORNETCS_IDLE 506
+#define CLIP_HORNETCS_JUMP_FULL 507
+#define CLIP_HORNETCS_POINT 508
+#define CLIP_HORNETCS_RUN 509
+#define CLIP_HORNETCS_SOFT_LAND 510
+#define CLIP_HORNETCS_THREAD_1 511
+#define CLIP_HORNETCS_THROW_SIDE 512
+#define CLIP_HORNETCS_THROW_SIDE_START 513
+#define CLIP_HORNETCS_TURN 514
+#define CLIP_HORNETCS_TURNTOIDLE 515
+#define CLIP_BULLET_IDLE 516
+#define CLIP_BULLET_IMPACT 517
+#define CLIP_BULLET_SHOCKWAVE_SPURT 518
+#define CLIP_PROP0_WATERFALL_LOOP 519
+#define CLIP_PROP1_TORCH2 520
+#define CLIP_PROP1_TORCH3 521
+#define CLIP_VM0_FLOWER 522
+#define CLIP_VM0_IDLE 523
+#define CLIP_VM0_REACH 524
+#define CLIP_VM0_REACH_TO_IDLE 525
+#define CLIP_VM0_TALK_LEFT 526
+#define CLIP_VM0_TALK_RIGHT 527
+#define CLIP_VM0_TURN_LEFT 528
+#define CLIP_VM0_TURN_RIGHT 529
+#define CLIP_VM2_IDLE 530
+#define CLIP_VM2_LOOKLEFT 531
+#define CLIP_VM2_LOOKRIGHT 532
+#define CLIP_VM3_IDLE 533
+#define CLIP_VM3_TALK 534
+#define CLIP_VM3_TALK_END 535
+#define CLIP_VM4_IDLE 536
+#define CLIP_VM4_LOOKLEFT 537
+#define CLIP_VM4_LOOKRIGHT 538
+#define CLIP_VM4_SIT 539
+#define CLIP_VM4_SIT_TALK 540
+#define CLIP_VM4_SIT_TALK_END 541
+#define CLIP_VM5_ARRIVE 542
+#define CLIP_VM5_ARRIVE_SMOKE 543
+#define CLIP_VM5_IDLE 544
+#define CLIP_VM6_BELL_IDLE 545
+#define CLIP_VM6_BELL_RING_R 546
+#define CLIP_VM6_BELL_STAND 547
+#define CLIP_VM6_BELL_STAND_APPEAR 548
+#define CLIP_VM6_BOX_DISAPPEAR 549
+#define CLIP_VM6_BOX_DISAPPEAR_QUICK 550
+#define CLIP_VM6_BOX_IDLE 551
+#define CLIP_VM6_FRONT 552
+#define CLIP_VM6_GRATE_DISAPPEAR 553
+#define CLIP_VM6_GRATE_IDLE 554
+#define CLIP_VM8_DAZED 555
+#define CLIP_VM8_IDLE 556
+#define CLIP_VM8_TURN_L 557
+#define CLIP_VM8_TURN_R 558
+#define CLIP_VM8_WAKE 559
+#define CLIP_VM11_HEGEMOL_CAST 560
+#define CLIP_VM11_HEGEMOL_IDLE 561
+#define CLIP_VM11_LURIEN_CAST 562
+#define CLIP_VM11_LURIEN_IDLE 563
+#define CLIP_VM11_MONOMON_CAST 564
+#define CLIP_VM11_MONOMON_IDLE 565
+#define CLIP_VM12_IDLE 566
+#define CLIP_VM12_SIT_IDLE 567
+#define CLIP_VM12_SIT_TALK 568
+#define CLIP_VM12_SIT_TALK_END 569
+#define CLIP_VM12_SUMMON 570
+#define CLIP_VM12_TALK 571
+#define CLIP_VM12_TALK_END 572
+#define CLIP_VM12_TURN 573
+#define CLIP_VM14_IDLE 574
+#define CLIP_VM14_LOOK_LEFT 575
+#define CLIP_VM14_LOOK_RIGHT 576
+#define CLIP_VM14_TALK_CONVO_END 577
+#define CLIP_VM14_TALK_CONVO_START 578
+#define CLIP_VM14_TALK_SHOP_END 579
+#define CLIP_VM14_TALK_SHOP_START 580
+#define CLIP_VM15_IDLE 581
+#define CLIP_VM15_SHOP_END 582
+#define CLIP_VM15_SHOP_START 583
+#define CLIP_VM15_TALK_END 584
+#define CLIP_VM15_TALK_START 585
+#define CLIP_VM16_CRY 586
+#define CLIP_VM16_CRY_TURN 587
+#define CLIP_VM16_FREED 588
+#define CLIP_VM16_HOME_BOUNCE 589
+#define CLIP_VM16_HOME_WAVE 590
+#define CLIP_VM16_IDLE 591
+#define CLIP_VM17_CRUMBLE 592
+#define CLIP_VM17_IDLE 593
+#define CLIP_VM18_BECKON 594
+#define CLIP_VM18_CHEER 595
+#define CLIP_VM18_CRY 596
+#define CLIP_VM18_GIFT 597
+#define CLIP_VM18_IDLE 598
+#define CLIP_VM20_RIPPLE_WATER 599
+#define CLIP_VM21_IDLE 600
+#define CLIP_VM21_TALK_L 601
+#define CLIP_VM21_TALK_L_END 602
+#define CLIP_VM21_TALK_R 603
+#define CLIP_VM21_TALK_R_END 604
+#define CLIP_ANIM0_STAG_DOOR_OPEN00 605
+#define CLIP_ANIM1_DASH_CLOAK_CORPSE000 606
+#define CLIP_ANIM2_GROUND_PLINK_0 607
+#define CLIP_ANIM3_FIREBALL_COLLECT_ANIM 608
+#define CLIP_ANIM4_DOOR_OPEN00 609
+#define SPRITE_HERO_LIGHT 3022
+#define SPRITE_DIALOGUE_BACKBOARD 3023
+#define SPRITE_PROMPT_SHADOW 3024
+#define SPRITE_CORPSE_NAIL 3025
+#define SPRITE_FK_BARREL 3026
+#define SPRITE_FK_STAFF 3027
+#define SPRITE_DIGIT0 3582
#define STYLE_DIALOGUE 0
#define STYLE_PROMPT 1
#define STYLE_TITLE_L 2
@@ -714,8 +720,9 @@
#define EK_MOSSCHARGER 27
#define EK_MOSSKNIGHT 28
#define EK_HORNET 29
-#define NUM_KINDS 30
-#define KIND_TABLE {{0}, {EF_CRAWLER, {-1, 204, 203, -1, -1, -1, -1, -1, -1, -1, -1, 206, 207}}, {EF_BUZZER, {209, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 211, 212}}, {EF_SHADE, {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, {EF_CLIMBER, {-1, -1, 219, 218, -1, -1, -1, -1, -1, -1, -1, 216, 217}}, {EF_BOUNCER, {-1, -1, -1, 222, -1, -1, -1, -1, -1, -1, -1, 220, 221}}, {EF_SPITTER, {-1, -1, -1, 225, 226, 224, -1, -1, -1, -1, -1, 223, -1}}, {EF_ROLLER, {229, -1, -1, 231, 230, 232, -1, -1, -1, -1, -1, 227, 228}}, {EF_BLOCKER, {239, -1, -1, 235, 240, 233, 234, 241, 242, 238, 237, -1, 236}}, {EF_HUSK, {248, 249, 250, 243, 245, 244, -1, -1, -1, -1, -1, 246, 247}}, {EF_HUSK, {256, 257, 258, 251, 253, 252, -1, -1, -1, -1, -1, 254, 255}}, {EF_HUSK, {264, 265, 266, 259, 261, 260, -1, -1, -1, -1, -1, 262, 263}}, {EF_HUSK, {272, 273, 274, 267, 269, 268, -1, -1, -1, -1, -1, 270, 271}}, {EF_LEAPER, {278, 280, 281, 275, 279, -1, -1, -1, -1, -1, -1, 276, 277}}, {EF_GUARD, {287, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 284, 285}}, {EF_FK, {309, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 307}}, {EF_FKHEAD, {329, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 327}}, {EF_HATCHER, {-1, -1, -1, 334, 333, -1, -1, -1, -1, -1, -1, 331, 332}}, {EF_HATCHLING, {-1, -1, -1, 335, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, {EF_SLUG, {341, -1, -1, 339, 340, 343, 342, 336, -1, -1, -1, 337, 338}}, {EF_GFLY, {356, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, {EF_MOSSWALKER, {-1, 365, 366, 364, 360, 361, -1, -1, -1, -1, -1, 362, 363}}, {EF_PIGEON, {-1, -1, -1, 368, 369, 370, 367, -1, -1, -1, -1, -1, -1}}, {EF_PLANTTRAP, {372, -1, -1, 375, 374, 373, -1, -1, -1, -1, -1, 371, -1}}, {EF_SHAKER, {379, 380, 381, 376, -1, -1, -1, -1, -1, -1, -1, 377, 378}}, {EF_MOSQUITO, {386, -1, -1, 388, 387, 383, 382, -1, -1, -1, -1, 384, 385}}, {EF_FATFLY, {392, -1, -1, 389, -1, -1, -1, -1, -1, -1, -1, 390, 391}}, {EF_MOSSCHARGER, {-1, -1, -1, 393, 394, 397, 400, 399, 401, 398, -1, 395, 396}}, {EF_MOSSKNIGHT, {407, 422, 426, -1, -1, -1, -1, -1, -1, -1, -1, 402, 403}}, {EF_HORNET, {442, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 430, -1}}}
+#define EK_MENDER 30
+#define NUM_KINDS 31
+#define KIND_TABLE {{0}, {EF_CRAWLER, {-1, 204, 203, -1, -1, -1, -1, -1, -1, -1, -1, 206, 207}}, {EF_BUZZER, {209, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 211, 212}}, {EF_SHADE, {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, {EF_CLIMBER, {-1, -1, 219, 218, -1, -1, -1, -1, -1, -1, -1, 216, 217}}, {EF_BOUNCER, {-1, -1, -1, 222, -1, -1, -1, -1, -1, -1, -1, 220, 221}}, {EF_SPITTER, {-1, -1, -1, 225, 226, 224, -1, -1, -1, -1, -1, 223, -1}}, {EF_ROLLER, {229, -1, -1, 231, 230, 232, -1, -1, -1, -1, -1, 227, 228}}, {EF_BLOCKER, {239, -1, -1, 235, 240, 233, 234, 241, 242, 238, 237, -1, 236}}, {EF_HUSK, {248, 249, 250, 243, 245, 244, -1, -1, -1, -1, -1, 246, 247}}, {EF_HUSK, {256, 257, 258, 251, 253, 252, -1, -1, -1, -1, -1, 254, 255}}, {EF_HUSK, {264, 265, 266, 259, 261, 260, -1, -1, -1, -1, -1, 262, 263}}, {EF_HUSK, {272, 273, 274, 267, 269, 268, -1, -1, -1, -1, -1, 270, 271}}, {EF_LEAPER, {278, 280, 281, 275, 279, -1, -1, -1, -1, -1, -1, 276, 277}}, {EF_GUARD, {287, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 284, 285}}, {EF_FK, {309, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 307}}, {EF_FKHEAD, {329, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 327}}, {EF_HATCHER, {-1, -1, -1, 334, 333, -1, -1, -1, -1, -1, -1, 331, 332}}, {EF_HATCHLING, {-1, -1, -1, 335, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, {EF_SLUG, {341, -1, -1, 339, 340, 343, 342, 336, -1, -1, -1, 337, 338}}, {EF_GFLY, {356, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}}, {EF_MOSSWALKER, {-1, 365, 366, 364, 360, 361, -1, -1, -1, -1, -1, 362, 363}}, {EF_PIGEON, {-1, -1, -1, 368, 369, 370, 367, -1, -1, -1, -1, -1, -1}}, {EF_PLANTTRAP, {372, -1, -1, 375, 374, 373, -1, -1, -1, -1, -1, 371, -1}}, {EF_SHAKER, {379, 380, 381, 376, -1, -1, -1, -1, -1, -1, -1, 377, 378}}, {EF_MOSQUITO, {386, -1, -1, 388, 387, 383, 382, -1, -1, -1, -1, 384, 385}}, {EF_FATFLY, {392, -1, -1, 389, -1, -1, -1, -1, -1, -1, -1, 390, 391}}, {EF_MOSSCHARGER, {-1, -1, -1, 393, 394, 397, 400, 399, 401, 398, -1, 395, 396}}, {EF_MOSSKNIGHT, {407, 422, 426, -1, -1, -1, -1, -1, -1, -1, -1, 402, 403}}, {EF_HORNET, {442, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 430, -1}}, {EF_MENDER, {466, -1, -1, 467, 465, -1, -1, -1, -1, -1, -1, 463, 464}}}
#define TXT_PROMPT_LISTEN 108
#define TXT_PROMPT_REST 109
#define TXT_PROMPT_INSPECT 110
@@ -916,16 +923,16 @@
#define VMEV_FIRST_MAP_UP 44
#define VMEV_FIRST_MAP_DOWN 45
#define VMSTR_NPC_TITLE 14
-#define VMSTR_VISITED 636
-#define VMSTR_DISPLAY_RIGHT 637
+#define VMSTR_VISITED 655
+#define VMSTR_DISPLAY_RIGHT 656
#define VMSTR_HORNET_SAVER 201
-#define VMSTR_ITEM 545
-#define STR_ATTACK_RANGE 23
-#define STR_EVADE_RANGE 49
-#define STR_SPIT_RANGE 50
-#define STR_WAKE_BOX 51
-#define STR_SLASH_HITBOX 52
-#define STR_SLASH2_HITBOX 53
+#define VMSTR_ITEM 555
+#define STR_ATTACK_RANGE 24
+#define STR_EVADE_RANGE 50
+#define STR_SPIT_RANGE 51
+#define STR_WAKE_BOX 52
+#define STR_SLASH_HITBOX 53
+#define STR_SLASH2_HITBOX 54
#define STR_DOOR_STAGEXIT 21
#define TITLE_KINGSPASS 0
#define TITLE_DIRTMOUTH 1
@@ -949,33 +956,34 @@
#define TITLE_CHARM_SLUG 19
#define NUM_TITLES 20
#define TITLE_TABLE {{122, 123, -1, -1}, {124, 125, 126, -1}, {127, 128, -1, 129}, {130, 131, -1, 132}, {133, 134, -1, 135}, {136, 137, -1, -1}, {138, 139, 140, -1}, {141, 142, -1, -1}, {143, 144, -1, -1}, {145, 146, -1, -1}, {147, 148, -1, -1}, {149, 150, -1, -1}, {151, 152, -1, -1}, {153, 154, -1, -1}, {155, 156, -1, 157}, {158, 159, -1, 160}, {158, 159, -1, 161}, {162, 163, 164, -1}, {162, 163, -1, -1}, {165, 166, -1, 167}}
-#define SPRITE_FLEUR_TOP 2997
+#define SPRITE_FLEUR_TOP 3028
#define FLEUR_TOP_RECTS {{0.781f, -0.844f, 0.953f, -0.688f}, {-1.078f, -0.984f, 1.141f, -0.531f}, {-1.281f, -1.016f, 1.313f, -0.484f}, {-1.359f, -1.016f, 1.969f, -0.141f}, {-2.141f, -1.031f, 2.531f, 0.047f}, {-2.250f, -1.078f, 2.766f, 0.266f}, {-2.797f, -1.203f, 3.094f, 0.578f}, {-2.938f, -1.219f, 3.219f, 0.859f}, {-3.203f, -1.234f, 3.469f, 1.141f}, {-3.312f, -1.234f, 3.766f, 1.281f}, {-3.547f, -1.250f, 4.000f, 1.328f}, {-3.844f, -1.250f, 4.016f, 1.328f}, {-4.016f, -1.250f, 4.031f, 1.344f}, {-4.031f, -1.250f, 4.031f, 1.344f}, {-4.047f, -1.250f, 4.031f, 1.359f}, {-4.047f, -1.250f, 4.031f, 1.359f}, {-4.047f, -1.266f, 4.031f, 1.359f}, {-4.047f, -1.266f, 4.031f, 1.359f}, {-4.062f, -1.266f, 4.047f, 1.375f}, {-4.062f, -1.266f, 4.047f, 1.375f}, {-4.062f, -1.266f, 4.047f, 1.375f}, {-4.062f, -1.266f, 4.047f, 1.375f}}
#define FLEUR_FRAMES 22
#define FLEUR_FPS 15.0f
-#define SPRITE_FLEUR_BOT 2998
+#define SPRITE_FLEUR_BOT 3029
#define FLEUR_BOT_RECTS {{0.000f, 0.000f, 0.016f, 0.016f}, {0.000f, 0.000f, 0.016f, 0.016f}, {0.391f, 0.406f, 0.828f, 0.844f}, {-1.063f, 0.281f, 1.516f, 1.016f}, {-1.594f, -0.047f, 2.109f, 1.031f}, {-1.984f, -0.156f, 2.375f, 1.047f}, {-2.531f, -0.438f, 2.719f, 1.172f}, {-2.688f, -0.594f, 2.766f, 1.188f}, {-2.797f, -0.797f, 3.156f, 1.219f}, {-3.078f, -0.938f, 3.219f, 1.219f}, {-3.250f, -1.156f, 3.438f, 1.219f}, {-3.250f, -1.172f, 3.828f, 1.219f}, {-3.781f, -1.188f, 4.203f, 1.234f}, {-3.984f, -1.188f, 4.344f, 1.234f}, {-4.281f, -1.203f, 4.562f, 1.234f}, {-4.406f, -1.203f, 4.641f, 1.234f}, {-4.578f, -1.219f, 4.719f, 1.234f}, {-4.656f, -1.219f, 4.719f, 1.234f}, {-4.734f, -1.219f, 4.734f, 1.234f}, {-4.750f, -1.234f, 4.734f, 1.234f}, {-4.766f, -1.234f, 4.734f, 1.250f}, {-4.766f, -1.234f, 4.734f, 1.250f}}
-#define SPRITE_MSG_BG 2999
-#define SPRITE_MSG_STOP 3000
-#define SPRITE_MSG_FLEUR 3001
-#define SPRITE_MSG_KEY 3002
-#define SPRITE_MSG_ICON_FIREBALL 3003
-#define SPRITE_MSG_ICON_DASH 3004
-#define SPRITE_GRASS_BALL 3005
-#define SPRITE_SOUL_ORB 3006
+#define VM_PIECE_BASE 3010
+#define SPRITE_MSG_BG 3030
+#define SPRITE_MSG_STOP 3031
+#define SPRITE_MSG_FLEUR 3032
+#define SPRITE_MSG_KEY 3033
+#define SPRITE_MSG_ICON_FIREBALL 3034
+#define SPRITE_MSG_ICON_DASH 3035
+#define SPRITE_GRASS_BALL 3036
+#define SPRITE_SOUL_ORB 3037
#define SOUL_ORB_SORT {13, 0}
#define MSG_TABLE {{168, 169, 170, 171, 172, 173}, {174, 175, 176, 177, 178, 179}}
-#define NOTICE_BACKBOARD {3007, 1.0000f, 0.6931f}
-#define TUTE_FLEUR {3001, 1.0000f, 1.0000f}
-#define TUTE_BACKBOARD {3008, 1.0000f, 0.9560f}
-#define TUTE_IMAGE {3009, 1.0000f, 1.0000f}
-#define TUTE_STOP {3000, 1.0000f, 1.0000f}
-#define FOCUS_PROMPT_BG {3010, 0.0000f, -1.7900f, 1.0000f, 1.0000f}
+#define NOTICE_BACKBOARD {3038, 1.0000f, 0.6931f}
+#define TUTE_FLEUR {3032, 1.0000f, 1.0000f}
+#define TUTE_BACKBOARD {3039, 1.0000f, 0.9560f}
+#define TUTE_IMAGE {3040, 1.0000f, 1.0000f}
+#define TUTE_STOP {3031, 1.0000f, 1.0000f}
+#define FOCUS_PROMPT_BG {3041, 0.0000f, -1.7900f, 1.0000f, 1.0000f}
#define FOCUS_PROMPT_TEXTS {{180, 0.1765f, -2.3773f, 0}, {181, 0.1765f, -3.1983f, 0}, {182, -0.0488f, -4.1348f, 1}, {183, 0.2240f, -5.2114f, 0}}
#define FOCUS_PROMPT_KEY {173, 0.4659f, -4.4341f}
-#define NOTICE_ICONS {3011, 3012, 3013, 3014}
+#define NOTICE_ICONS {3042, 3043, 3044, 3045}
#define CHARM_ICON_K 1.5000f
-#define CHARM_ICONS {-1, 3015, 3016, 3017, 3018, -1, 3019, 3020, 3021, -1, -1, -1, -1, -1, 3022, -1, -1, -1, 3023, 3024, 3025, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}
+#define CHARM_ICONS {-1, 3046, 3047, 3048, 3049, -1, 3050, 3051, 3052, -1, -1, -1, -1, -1, 3053, -1, -1, -1, 3054, 3055, 3056, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}
#define CHARM_NAMES {-1, 184, 185, 186, 187, -1, 188, 189, 190, -1, -1, -1, -1, -1, 191, -1, -1, -1, 192, 193, 194, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}
#define TXT_CHARM_TUTE_TITLE 195
#define TXT_CHARM_TUTE_SUB 196
@@ -983,37 +991,37 @@
#define TXT_YN_YES 198
#define TXT_YN_NO 199
#define TXT_YN_NOT_ENOUGH 200
-#define MENU_LOGO {3026, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define MENU_LOGO {3057, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
#define MENU_LOGO_Y 3.6585f
#define MENU_START_Y -1.4181f
#define MENU_QUIT_Y -2.3582f
-#define MENU_POINTER {3027, 0.0000f, 0.0000f, 1.0023f, 1.0000f}
+#define MENU_POINTER {3058, 0.0000f, 0.0000f, 1.0023f, 1.0000f}
#define MENU_POINTER_GAP 0.7525f
#define MENU_PROFILES_TITLE_Y 6.4481f
-#define MENU_PROFILES_FLEUR {3028, 0.0000f, 0.0000f, 1.0000f, 1.0807f}
+#define MENU_PROFILES_FLEUR {3059, 0.0000f, 0.0000f, 1.0000f, 1.0807f}
#define MENU_PROFILES_FLEUR_Y 5.4077f
#define MENU_SLOT_X -2.8186f
#define MENU_SLOT_Y 3.1252f
#define MENU_SLOT_DY -2.3269f
-#define MENU_SLOT_ZONES {{2, {3029, 0.0000f, 0.0000f, 1.0000f, 1.0000f}}, {4, {3030, 0.0000f, 0.0000f, 1.0000f, 1.0000f}}, {5, {3031, 0.0000f, 0.0000f, 1.0000f, 1.0000f}}, {6, {3032, 0.0000f, 0.0000f, 1.0000f, 1.0000f}}, {22, {3033, 0.0000f, 0.0000f, 1.0000f, 1.0000f}}}
+#define MENU_SLOT_ZONES {{2, {3060, 0.0000f, 0.0000f, 1.0000f, 1.0000f}}, {4, {3061, 0.0000f, 0.0000f, 1.0000f, 1.0000f}}, {5, {3062, 0.0000f, 0.0000f, 1.0000f, 1.0000f}}, {6, {3063, 0.0000f, 0.0000f, 1.0000f, 1.0000f}}, {22, {3064, 0.0000f, 0.0000f, 1.0000f, 1.0000f}}}
#define MENU_SLOT_NZONES 5
#define MENU_SLOT_BG_DY 0.0102f
-#define MENU_SLOT_FLEUR {3034, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define MENU_SLOT_FLEUR {3065, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
#define MENU_SLOT_FLEUR_X 0.0000f
#define MENU_SLOT_FLEUR_Y 0.4512f
-#define MENU_SLOT_SELECTOR {3035, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define MENU_SLOT_SELECTOR {3066, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
#define MENU_SLOT_SELECTOR_X -0.1626f
#define MENU_SLOT_SELECTOR_Y 0.0813f
-#define MENU_SLOT_CURSOR {3036, 0.0000f, 0.0000f, 1.0000f, 1.0025f}
+#define MENU_SLOT_CURSOR {3067, 0.0000f, 0.0000f, 1.0000f, 1.0025f}
#define MENU_SLOT_CURSOR_X -8.2367f
#define MENU_SLOT_CURSOR_Y 0.0000f
-#define MENU_SLOT_ORB {3037, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define MENU_SLOT_ORB {3068, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
#define MENU_SLOT_ORB_X -4.3089f
#define MENU_SLOT_ORB_Y 0.1230f
-#define MENU_SLOT_GEO {3038, 0.0000f, 0.0000f, 1.0039f, 1.0000f}
+#define MENU_SLOT_GEO {3069, 0.0000f, 0.0000f, 1.0039f, 1.0000f}
#define MENU_SLOT_GEO_X -3.6961f
#define MENU_SLOT_GEO_Y -0.5395f
-#define MENU_SLOT_HEALTH {3039, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define MENU_SLOT_HEALTH {3070, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
#define MENU_SLOT_HEALTH_X -3.5916f
#define MENU_SLOT_HEALTH_Y 0.3577f
#define MENU_SLOT_CURSOR_X2 8.0334f
@@ -1031,9 +1039,9 @@
#define MENU_SLOT_YES_X 2.5813f
#define MENU_SLOT_NO_X 6.2296f
#define MENU_BACK_Y -5.5406f
-#define MENU_PAUSE_TOP {3040, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define MENU_PAUSE_TOP {3071, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
#define MENU_PAUSE_TOP_Y 2.3653f
-#define MENU_PAUSE_BOT {3041, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define MENU_PAUSE_BOT {3072, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
#define MENU_PAUSE_BOT_Y -1.8877f
#define MENU_PAUSE_CONTINUE_Y 0.6428f
#define MENU_PAUSE_QUIT_Y -0.4548f
@@ -1052,39 +1060,39 @@
#define TXT_ZONES {213, 214, 215, 216, 217}
#define INV_X -4.0500f
#define INV_Y 7.5500f
-#define INV_BORDER {{3042, -8.0000f, -2.8100f, 1.0000f, 1.0000f}, {3042, 16.1400f, -2.8100f, -1.0000f, 1.0000f}, {3043, -8.0000f, -12.8700f, 0.9877f, -1.0000f}, {3044, 16.2400f, -12.8700f, -1.0000f, -1.0000f}, {3045, 3.9400f, -0.6200f, 1.0000f, 1.0000f}, {3046, 4.0000f, -14.3600f, 1.0000f, 1.0000f}}
+#define INV_BORDER {{3073, -8.0000f, -2.8100f, 1.0000f, 1.0000f}, {3073, 16.1400f, -2.8100f, -1.0000f, 1.0000f}, {3074, -8.0000f, -12.8700f, 0.9877f, -1.0000f}, {3075, 16.2400f, -12.8700f, -1.0000f, -1.0000f}, {3076, 3.9400f, -0.6200f, 1.0000f, 1.0000f}, {3077, 4.0000f, -14.3600f, 1.0000f, 1.0000f}}
#define INV_NBORDER 6
-#define INV_FRAME {3047, 4.0479f, -7.1963f, 1.0f, 1.0f}
-#define INV_ARROW_L {3048, -9.8300f, -7.2000f, 1.0000f, 1.0000f}
-#define INV_ARROW_R {3048, 18.0300f, -7.2000f, -1.0000f, 1.0000f}
-#define INV_PANE_ARROW_L {3049, -9.8600f, -0.4300f, -1.0000f, 1.0000f}
-#define INV_PANE_ARROW_R {3049, 18.0400f, -0.4300f, 1.0000f, 1.0000f}
+#define INV_FRAME {3078, 4.0479f, -7.1963f, 1.0f, 1.0f}
+#define INV_ARROW_L {3079, -9.8300f, -7.2000f, 1.0000f, 1.0000f}
+#define INV_ARROW_R {3079, 18.0300f, -7.2000f, -1.0000f, 1.0000f}
+#define INV_PANE_ARROW_L {3080, -9.8600f, -0.4300f, -1.0000f, 1.0000f}
+#define INV_PANE_ARROW_R {3080, 18.0400f, -0.4300f, 1.0000f, 1.0000f}
#define INV_PANE_NAME {3.9500f, -0.0745f, 8.3290f}
#define INV_PANE_NAME_L {-9.4745f, -0.0646f, 8.3290f}
#define INV_PANE_NAME_R {17.6945f, -0.0646f, 8.3290f}
#define TXT_INV_PANES {220, 221, 222, 223}
-#define CH_BB {3050, -7.9200f, -8.3700f, 1.0000f, 1.0000f}
+#define CH_BB {3081, -7.9200f, -8.3700f, 1.0000f, 1.0000f}
#define CH_BB_POS {{-7.9200f, -8.3700f}, {-6.4200f, -8.3700f}, {-4.9200f, -8.3400f}, {-3.4200f, -8.3400f}, {-1.9200f, -8.3400f}, {-0.4200f, -8.3400f}, {1.0800f, -8.3400f}, {2.5800f, -8.3400f}, {4.0800f, -8.3400f}, {5.5800f, -8.3400f}, {-7.0100f, -9.7900f}, {-5.5100f, -9.7900f}, {-4.0100f, -9.7900f}, {-2.5100f, -9.7900f}, {-1.0100f, -9.7900f}, {0.4900f, -9.7900f}, {1.9900f, -9.7900f}, {3.4900f, -9.7900f}, {4.9900f, -9.7900f}, {6.4900f, -9.7900f}, {-7.9200f, -11.2600f}, {-6.4200f, -11.2600f}, {-4.9200f, -11.2600f}, {-3.4200f, -11.2600f}, {-1.9200f, -11.2600f}, {-0.4200f, -11.2600f}, {1.0800f, -11.2600f}, {2.5800f, -11.2600f}, {4.0800f, -11.2600f}, {5.5800f, -11.2600f}, {-7.0100f, -12.7200f}, {-5.5100f, -12.7200f}, {-4.0100f, -12.7200f}, {-2.5100f, -12.7200f}, {-1.0100f, -12.7200f}, {0.4900f, -12.7200f}, {1.9900f, -12.7200f}, {3.4900f, -12.7200f}, {4.9900f, -12.7200f}, {6.4900f, -12.7200f}}
#define CH_BB_BOX {1.5002f, 1.4969f, -0.0257f, 0.0685f}
#define CH_BB_CHARM {2, 1, 4, 20, 19, 21, 31, 37, 3, 35, 23, 24, 25, 33, 14, 15, 32, 18, 13, 6, 12, 5, 11, 10, 22, 7, 34, 8, 9, 27, 29, 17, 16, 28, 26, 39, 30, 38, 40, 36}
-#define CH_GLOW {3051, 0.0500f, 0.0600f, 1.0000f, 0.9919f}
+#define CH_GLOW {3082, 0.0500f, 0.0600f, 1.0000f, 0.9919f}
#define CH_GLOW_A 0.6970f
-#define CH_ICONS {-1, 3015, 3016, 3017, 3018, -1, 3019, 3020, 3021, -1, -1, -1, -1, -1, 3022, -1, -1, -1, 3023, 3024, 3025, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}
-#define CH_NEXT_DOT {3052, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define CH_ICONS {-1, 3046, 3047, 3048, 3049, -1, 3050, 3051, 3052, -1, -1, -1, -1, -1, 3053, -1, -1, -1, 3054, 3055, 3056, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}
+#define CH_NEXT_DOT {3083, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
#define CH_NEXT_DOT_BOX {1.2143f, 1.2736f, -0.0209f, 0.0123f}
#define CH_EQ_BOX {1.4950f, 1.4950f, 0.0000f, 0.0000f}
#define CH_TEXT_EQUIPPED {-8.1273f, -2.0957f, 5.4345f}
-#define CH_NOTCH_FULL {3053, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
-#define CH_NOTCH_EMPTY {3054, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define CH_NOTCH_FULL {3084, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define CH_NOTCH_EMPTY {3085, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
#define CH_NOTCH_X -7.8000f
#define CH_NOTCH_Y -6.1600f
#define CH_NOTCH_DX 0.8100f
#define CH_NOTCH_FULL_RGB {255, 216, 0}
#define CH_NOTCH_OVER_RGB {255, 36, 67}
#define CH_TEXT_NOTCHES {-8.0272f, -5.0757f, 5.4345f}
-#define CH_DIVIDER {3055, -0.8400f, -6.9300f, 1.0000f, 0.1591f}
+#define CH_DIVIDER {3086, -0.8400f, -6.9300f, 1.0000f, 0.1591f}
#define CH_COST_TEXT {10.7172f, -3.3457f, 5.4345f}
-#define CH_COST_PIP {3053, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define CH_COST_PIP {3084, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
#define CH_COST_X 11.2300f
#define CH_COST_Y -3.6600f
#define CH_COST_DX 0.7500f
@@ -1093,9 +1101,9 @@
#define CH_NAME {12.4800f, -2.2710f, 8.8867f}
#define CH_DESC {8.0382f, -7.3673f, 8.8867f}
#define CH_CONFIRM {15.7465f, -13.0221f, 15.3500f}
-#define CH_CONFIRM_KEY {3056, 16.3208f, -13.2878f, 1.0f, 1.0f}
+#define CH_CONFIRM_KEY {3087, 16.3208f, -13.2878f, 1.0f, 1.0f}
#define CH_CONFIRM_KEY_W 0.6412f
-#define CH_CURSOR {3057, 0.0000f, 0.0000f, 1.0000f, 0.9756f}
+#define CH_CURSOR {3088, 0.0000f, 0.0000f, 1.0000f, 0.9756f}
#define CH_CURSOR_K {1.0720f, 1.0458f}
#define CH_CURSOR_CORNERS {{1.0000f, 1.0000f}, {-1.1000f, 1.0000f}, {1.0000f, -1.0089f}, {-1.1000f, -1.0089f}}
#define TXT_CHARM_TXT_EQUIPPED 224
@@ -1109,23 +1117,23 @@
#define TXT_CHARM_NAMES_INV {-1, 232, 233, 234, 235, -1, 236, 237, 238, -1, -1, -1, -1, -1, 239, -1, -1, -1, 240, 241, 242, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}
#define TXT_CHARM_DESCS {-1, 243, 244, 245, 246, -1, 247, 248, 249, -1, -1, -1, -1, -1, 250, -1, -1, -1, 251, 252, 253, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}
#define TXT_KEY_OK 254
-#define INV_FIXED {{3058, -7.1600f, -3.8300f, 1.0000f, 1.0000f}, {3059, -3.2500f, -4.2100f, 1.0000f, 1.0000f}, {3060, -7.2900f, -9.4400f, 1.0000f, 1.0000f}, {3061, -4.7200f, -6.2100f, 1.0000f, 1.0000f}, {3062, -3.2700f, -7.4600f, 1.0000f, 1.0000f}, {3063, -5.7200f, -13.3200f, 1.0000f, 1.0000f}}
-#define INV_FIXED_BG {{-1, 0, 0, 0, 0}, {-1, 0, 0, 0, 0}, {-1, 0, 0, 0, 0}, {3064, -4.6374f, -6.2413f, 1.0000f, 1.0000f}, {3065, -3.2774f, -7.4713f, 1.0000f, 1.0000f}, {-1, 0, 0, 0, 0}}
+#define INV_FIXED {{3089, -7.1600f, -3.8300f, 1.0000f, 1.0000f}, {3090, -3.2500f, -4.2100f, 1.0000f, 1.0000f}, {3091, -7.2900f, -9.4400f, 1.0000f, 1.0000f}, {3092, -4.7200f, -6.2100f, 1.0000f, 1.0000f}, {3093, -3.2700f, -7.4600f, 1.0000f, 1.0000f}, {3094, -5.7200f, -13.3200f, 1.0000f, 1.0000f}}
+#define INV_FIXED_BG {{-1, 0, 0, 0, 0}, {-1, 0, 0, 0, 0}, {-1, 0, 0, 0, 0}, {3095, -4.6374f, -6.2413f, 1.0000f, 1.0000f}, {3096, -3.2774f, -7.4713f, 1.0000f, 1.0000f}, {-1, 0, 0, 0, 0}}
#define INV_FIXED_BOX {{1.9363f, 2.9287f, -0.0651f, 0.0923f}, {1.4420f, 1.4140f, -0.0546f, 0.0682f}, {1.6244f, 5.3245f, 0.0126f, 0.1884f}, {1.7500f, 1.7500f, 0.0000f, 0.0000f}, {1.8505f, 1.8756f, -0.0503f, 0.0629f}, {7.8215f, 1.4409f, 1.7816f, -0.0205f}}
-#define INV_HEART_PIECES {{3066, -7.1460f, -3.5360f, 1.0000f, 1.0000f}, {3067, -7.1460f, -3.5360f, 1.0000f, 1.0000f}, {3068, -7.1460f, -3.5360f, 1.0000f, 1.0000f}, {3069, -7.1460f, -3.5360f, 1.0000f, 1.0000f}}
-#define INV_VESSEL_PIECES {{3070, -3.5860f, -4.3220f, 1.0000f, 1.0000f}, {3071, -3.2892f, -4.3556f, 1.0000f, 1.0000f}, {3072, -3.2500f, -4.1540f, 1.0000f, 1.0000f}}
+#define INV_HEART_PIECES {{3097, -7.1460f, -3.5360f, 1.0000f, 1.0000f}, {3098, -7.1460f, -3.5360f, 1.0000f, 1.0000f}, {3099, -7.1460f, -3.5360f, 1.0000f, 1.0000f}, {3100, -7.1460f, -3.5360f, 1.0000f, 1.0000f}}
+#define INV_VESSEL_PIECES {{3101, -3.5860f, -4.3220f, 1.0000f, 1.0000f}, {3102, -3.2892f, -4.3556f, 1.0000f, 1.0000f}, {3103, -3.2500f, -4.1540f, 1.0000f, 1.0000f}}
#define INV_GEO_TEXT {-4.8612f, -12.9979f, 1.6942f}
#define INV_EQ_X 1.1000f
#define INV_EQ_Y -3.8000f
#define INV_EQ_DX 2.0800f
#define INV_EQ_DY -2.1800f
-#define INV_EQ {{3073, 1.1000f, -3.8000f, 1.0000f, 1.0000f}, {3074, 1.1000f, -3.8000f, 1.0000f, 1.0000f}, {3075, 1.1300f, -3.8000f, 1.0000f, 1.0000f}, {3076, 1.1300f, -3.8000f, 1.0000f, 1.0000f}, {3077, 1.1300f, -3.8000f, 1.0000f, 1.0000f}, {3078, 1.1300f, -3.8000f, 1.0000f, 1.0000f}}
+#define INV_EQ {{3104, 1.1000f, -3.8000f, 1.0000f, 1.0000f}, {3105, 1.1000f, -3.8000f, 1.0000f, 1.0000f}, {3106, 1.1300f, -3.8000f, 1.0000f, 1.0000f}, {3107, 1.1300f, -3.8000f, 1.0000f, 1.0000f}, {3108, 1.1300f, -3.8000f, 1.0000f, 1.0000f}, {3109, 1.1300f, -3.8000f, 1.0000f, 1.0000f}}
#define INV_EQ_BOX {{1.4420f, 1.4140f, 0.0000f, 0.0000f}, {1.4420f, 1.4140f, 0.0000f, 0.0000f}, {1.4420f, 1.4140f, 0.0000f, 0.0000f}, {1.4420f, 1.4140f, 0.0000f, 0.0000f}, {1.4420f, 1.4140f, 0.0000f, 0.0000f}, {1.4420f, 1.4140f, 0.0000f, 0.0000f}}
-#define INV_TRINKETS {{3079, 1.1000f, -10.7400f, 1.0000f, 1.0000f}, {3080, 3.1800f, -10.7400f, 1.0000f, 1.0000f}, {3081, 5.2600f, -10.7400f, 1.0000f, 1.0000f}, {3082, 7.4000f, -10.7800f, 1.0000f, 1.0000f}}
+#define INV_TRINKETS {{3110, 1.1000f, -10.7400f, 1.0000f, 1.0000f}, {3111, 3.1800f, -10.7400f, 1.0000f, 1.0000f}, {3112, 5.2600f, -10.7400f, 1.0000f, 1.0000f}, {3113, 7.4000f, -10.7800f, 1.0000f, 1.0000f}}
#define INV_TRINKET_BOX {{1.3970f, 1.7141f, 0.0000f, -0.1535f}, {1.3970f, 1.7141f, 0.0000f, -0.1535f}, {1.3970f, 1.7141f, 0.0000f, -0.1535f}, {1.2162f, 1.5101f, -0.0416f, -0.0832f}}
#define INV_TRINKET_TEXT {0.3740f, -0.2538f, 1.3871f}
-#define INV_TRINKET_BB {3083, 4.2400f, -10.8700f, 1.0000f, 1.0000f}
-#define INV_DIVIDERS {{3084, -0.1800f, -7.5100f, 1.0000f, 0.2443f, -90.0000f}, {3084, 8.7300f, -7.5100f, 1.0000f, 0.2443f, -90.0000f}}
+#define INV_TRINKET_BB {3114, 4.2400f, -10.8700f, 1.0000f, 1.0000f}
+#define INV_DIVIDERS {{3115, -0.1800f, -7.5100f, 1.0000f, 0.2443f, -90.0000f}, {3115, 8.7300f, -7.5100f, 1.0000f, 0.2443f, -90.0000f}}
#define INV_NAME {12.9500f, -1.9345f, 8.3290f}
#define INV_DESC {9.2144f, -3.1678f, 7.6475f}
#define TXT_INV_HEART {{255, 256}, {257, 258}, {259, 260}, {257, 261}, {257, 262}, {263, 264}}
@@ -1134,15 +1142,15 @@
#define TXT_INV_EQ {{280, 281}, {282, 283}, {284, 285}, {286, 287}, {288, 289}, {290, 291}}
#define TXT_INV_QUILL {292, 293, 294, 295}
#define TXT_INV_TRINKETS {{296, 297}, {298, 299}, {300, 301}, {302, 303}}
-#define SHOP_BACKBOARD {3085, 4.9000f, -0.3200f, 0.8667f, 1.0000f}
-#define SHOP_MASK_TOP {3086, 5.1230f, 4.8800f, 1.0000f, 0.9013f}
-#define SHOP_MASK_BOTTOM {3087, 5.1537f, -5.6200f, 1.0000f, 0.8820f}
-#define SHOP_ARROW_U {3088, 1.7000f, 1.8900f, 1.0000f, 1.0000f}
-#define SHOP_ARROW_D {3088, 1.7000f, -0.3800f, -1.0000f, 1.0000f}
-#define SHOP_SELECTOR {3089, 1.7300f, 0.7600f, 0.9332f, 1.0000f}
-#define SHOP_CONFIRM_GEO {3090, 4.2800f, 0.3400f, 1.0000f, 1.0000f}
-#define SHOP_POINTER_L {3091, 3.6119f, -2.0798f, 1.0000f, 1.0000f}
-#define SHOP_POINTER_R {3091, 6.6249f, -2.0798f, -1.0000f, 1.0000f}
+#define SHOP_BACKBOARD {3116, 4.9000f, -0.3200f, 0.8667f, 1.0000f}
+#define SHOP_MASK_TOP {3117, 5.1230f, 4.8800f, 1.0000f, 0.9013f}
+#define SHOP_MASK_BOTTOM {3118, 5.1537f, -5.6200f, 1.0000f, 0.8820f}
+#define SHOP_ARROW_U {3119, 1.7000f, 1.8900f, 1.0000f, 1.0000f}
+#define SHOP_ARROW_D {3119, 1.7000f, -0.3800f, -1.0000f, 1.0000f}
+#define SHOP_SELECTOR {3120, 1.7300f, 0.7600f, 0.9332f, 1.0000f}
+#define SHOP_CONFIRM_GEO {3121, 4.2800f, 0.3400f, 1.0000f, 1.0000f}
+#define SHOP_POINTER_L {3122, 3.6119f, -2.0798f, 1.0000f, 1.0000f}
+#define SHOP_POINTER_R {3122, 6.6249f, -2.0798f, -1.0000f, 1.0000f}
#define SHOP_MASK_A {0, 0, 255, 255, 255, 255, 255, 254, 249, 230, 177, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 73, 134, 178, 204, 226, 223, 0, 0, 0, 0, 0, 0}
#define SHOP_CONFIRM_ITEM {5.0900f, 2.4700f}
#define TXT_KEY_BACK 305
@@ -1162,7 +1170,7 @@
#define SHOP_T_ACT_CONFIRM {8.2400f, -6.4868f, 1.8022f}
#define SHOP_T_ACT_CANCEL {2.0402f, -6.4868f, 1.8022f}
#define SHOP_DESC_DY 1.6100f
-#define SHOP_PEG {3092, 5.5100f, 2.5800f, 1.0000f, 1.0000f}
+#define SHOP_PEG {3123, 5.5100f, 2.5800f, 1.0000f, 1.0000f}
#define SHOP_PEG_DX 0.7500f
#define SHOP_PEGS_X {1.9100f, 1.5400f, 1.1500f, 0.8000f, 0.3300f, 0.0000f}
#define SHOP_KEY_CONFIRM {9.0416f, -6.7556f}
@@ -1183,9 +1191,9 @@
#define TXT_SHOP_YES 315
#define TXT_SHOP_NO 316
#define SHOP_DESC_BOTTOM -5.0500f
-#define SHOP_ITEMS {{3094, 0.5714f, 317, 318, 150, 1, 125, -1, 0, 0}, {3094, 0.5714f, 317, 319, 500, 1, 126, 125, 0, 0}, {3095, 0.5714f, 320, 321, 550, 3, 127, -1, 0, 0}, {3096, 0.5714f, 322, 323, 950, 10, 128, -1, 0, 0}, {3097, 0.5714f, 324, 325, 300, 2, 37, -1, 0, 1}, {3098, 0.5714f, 326, 327, 200, 2, 40, -1, 0, 4}, {3099, 0.5714f, 328, 329, 1800, 0, 119, -1, 0, 0}, {3100, 0.5714f, 330, 331, 60, 11, 129, -1, 0, 0}, {3101, 0.5714f, 332, 333, 220, 2, 38, -1, 0, 2}, {3102, 0.5714f, 334, 335, 120, 0, 2, -1, 0, 0}, {3103, 0.5714f, 336, 337, 40, 9, 130, 10, 0, 0}, {3103, 0.5714f, 338, 339, 80, 9, 131, 28, 0, 0}, {3104, 0.5714f, 340, 341, 100, 16, 133, -1, 0, 0}, {3105, 0.5714f, 342, 343, 100, 16, 134, -1, 0, 0}, {3106, 0.5714f, 344, 345, 100, 16, 135, -1, 0, 0}, {3107, 0.5714f, 346, 347, 100, 16, 137, 147, 0, 0}, {3108, 0.5714f, 348, 349, 100, 16, 136, -1, 0, 0}, {3109, 0.5714f, 350, 351, 100, 17, 139, -1, 0, 0}, {3110, 0.5714f, 352, 353, 100, 17, 140, -1, 0, 0}, {3111, 0.5714f, 354, 355, 100, 17, 141, 14, 0, 0}, {3112, 0.5714f, 356, 357, 210, 17, 142, 14, 0, 0}, {3113, 0.5714f, 358, 359, 250, 2, 44, -1, 0, 8}, {3114, 0.5714f, 360, 361, 300, 2, 54, -1, 0, 18}, {3115, 0.5714f, 362, 363, 120, 2, 50, -1, 0, 14}, {3116, 0.5714f, 364, 365, 220, 2, 55, -1, 0, 19}, {3117, 0.5714f, 366, 367, 800, 2, 43, -1, 0, 7}, {3118, 0.5714f, 368, 369, 120, 8, 143, -1, 5, 0}, {3118, 0.5714f, 368, 369, 500, 8, 144, -1, 10, 0}, {3118, 0.5714f, 368, 369, 900, 8, 145, -1, 18, 0}, {3118, 0.5714f, 368, 370, 1400, 8, 146, -1, 25, 0}}
+#define SHOP_ITEMS {{3125, 0.5714f, 317, 318, 150, 1, 125, -1, 0, 0}, {3125, 0.5714f, 317, 319, 500, 1, 126, 125, 0, 0}, {3126, 0.5714f, 320, 321, 550, 3, 127, -1, 0, 0}, {3127, 0.5714f, 322, 323, 950, 10, 128, -1, 0, 0}, {3128, 0.5714f, 324, 325, 300, 2, 37, -1, 0, 1}, {3129, 0.5714f, 326, 327, 200, 2, 40, -1, 0, 4}, {3130, 0.5714f, 328, 329, 1800, 0, 119, -1, 0, 0}, {3131, 0.5714f, 330, 331, 60, 11, 129, -1, 0, 0}, {3132, 0.5714f, 332, 333, 220, 2, 38, -1, 0, 2}, {3133, 0.5714f, 334, 335, 120, 0, 2, -1, 0, 0}, {3134, 0.5714f, 336, 337, 40, 9, 130, 10, 0, 0}, {3134, 0.5714f, 338, 339, 80, 9, 131, 28, 0, 0}, {3135, 0.5714f, 340, 341, 100, 16, 133, -1, 0, 0}, {3136, 0.5714f, 342, 343, 100, 16, 134, -1, 0, 0}, {3137, 0.5714f, 344, 345, 100, 16, 135, -1, 0, 0}, {3138, 0.5714f, 346, 347, 100, 16, 137, 147, 0, 0}, {3139, 0.5714f, 348, 349, 100, 16, 136, -1, 0, 0}, {3140, 0.5714f, 350, 351, 100, 17, 139, -1, 0, 0}, {3141, 0.5714f, 352, 353, 100, 17, 140, -1, 0, 0}, {3142, 0.5714f, 354, 355, 100, 17, 141, 14, 0, 0}, {3143, 0.5714f, 356, 357, 210, 17, 142, 14, 0, 0}, {3144, 0.5714f, 358, 359, 250, 2, 44, -1, 0, 8}, {3145, 0.5714f, 360, 361, 300, 2, 54, -1, 0, 18}, {3146, 0.5714f, 362, 363, 120, 2, 50, -1, 0, 14}, {3147, 0.5714f, 364, 365, 220, 2, 55, -1, 0, 19}, {3148, 0.5714f, 366, 367, 800, 2, 43, -1, 0, 7}, {3149, 0.5714f, 368, 369, 120, 8, 143, -1, 5, 0}, {3149, 0.5714f, 368, 369, 500, 8, 144, -1, 10, 0}, {3149, 0.5714f, 368, 369, 900, 8, 145, -1, 18, 0}, {3149, 0.5714f, 368, 370, 1400, 8, 146, -1, 25, 0}}
#define SHOP_FIRST {0, 8, 21, 30}
-#define SHOP_ROW_GEO {3093, 1.4551f, 0.0000f, 1.0000f, 1.0000f}
+#define SHOP_ROW_GEO {3124, 1.4551f, 0.0000f, 1.0000f, 1.0000f}
#define SHOP_ROW_COST {1.8423f, 0.2885f}
#define SHOP_ACTIVE_RGB {255, 255, 255}
#define SHOP_INACTIVE_RGB {141, 141, 141}
@@ -1200,21 +1208,21 @@
#define COLLECT_MOVER_TO {-7.7000f, 6.0400f}
#define STAG_AT {0.3000f, 0.3000f}
#define STAG_K 1.2646f
-#define STAG_BACKING {3119, -0.4427f, 0.0000f, 1.0000f, 0.6408f}
+#define STAG_BACKING {3150, -0.4427f, 0.0000f, 1.0000f, 0.6408f}
#define STAG_BACKING_A 0.9020f
-#define STAG_PIECES {{3120, 3.6420f, -0.6829f, 1.0000f, 1.0000f}, {3121, 2.8499f, 2.2363f, 1.0000f, 1.0000f}, {3122, 5.8131f, 2.5590f, 1.0000f, 1.0000f}, {3123, 0.4147f, 1.5909f, 1.0000f, 1.0000f}}
+#define STAG_PIECES {{3151, 3.6420f, -0.6829f, 1.0000f, 1.0000f}, {3152, 2.8499f, 2.2363f, 1.0000f, 1.0000f}, {3153, 5.8131f, 2.5590f, 1.0000f, 1.0000f}, {3154, 0.4147f, 1.5909f, 1.0000f, 1.0000f}}
#define STAG_OPENED {-1, 155, 156}
#define STAG_MARKS {{2.9379f, 3.7471f}, {4.8742f, 2.0690f}, {-0.4360f, 2.7790f}}
#define STAG_SELECTOR {0.0000f, 0.0000f, 1.1797f, 1.2092f}
-#define STAG_MAP_KNIGHT {3124, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
-#define STAG_MAP_SHADOW {3125, 0.0110f, -0.0100f, 1.0000f, 0.9227f}
+#define STAG_MAP_KNIGHT {3155, 0.0000f, 0.0000f, 1.0000f, 1.0000f}
+#define STAG_MAP_SHADOW {3156, 0.0110f, -0.0100f, 1.0000f, 0.9227f}
#define STAG_T_ROW {-7.5992f, 4.9095f, 5.8145f}
#define STAG_ROW_DY 1.0000f
-#define STAG_POINTER_R {3126, 2.8680f, 0.6180f, -1.0000f, 1.0000f}
-#define STAG_POINTER_L {3126, -2.8680f, 0.6180f, 1.0000f, 1.0000f}
+#define STAG_POINTER_R {3157, 2.8680f, 0.6180f, -1.0000f, 1.0000f}
+#define STAG_POINTER_L {3157, -2.8680f, 0.6180f, 1.0000f, 1.0000f}
#define STAG_ROW {-7.5992f, 3.9576f}
-#define STAG_LIST_KNIGHT {3124, -10.5102f, 4.6056f, 1.0000f, 1.0000f}
-#define STAG_DIVIDER {3127, -7.6003f, 5.2734f, -1.0000f, -0.8696f}
+#define STAG_LIST_KNIGHT {3155, -10.5102f, 4.6056f, 1.0000f, 1.0000f}
+#define STAG_DIVIDER {3158, -7.6003f, 5.2734f, -1.0000f, -0.8696f}
#define STAG_T_STATIONS {-7.5992f, 6.0194f, 5.8145f}
#define TXT_STAG_STATIONS 375
#define TXT_STAG_NAMES {376, 336, 338}
@@ -1230,48 +1238,48 @@
#define STAG_SCENES_STR {137, 136, 138}
#define STAG_SCENES_ROOM {4, 19, 36}
#define MAP_AREAS {{0, 2, -1, 4.0700f, -11.6200f, 381, 0x14u}, {2, 23, 130, -0.0400f, -7.8800f, 384, 0x400020u}, {25, 16, 131, 16.3100f, -7.8700f, 385, 0x40u}}
-#define MAP_ROOMS {{0, 1, 3128, 3129, -1.9230f, 7.6490f, 4.0800f, 2.1400f, 0xB6B6B6, 1}, {0, 0, 3135, 3136, -5.4430f, 7.4690f, 2.9600f, 1.4800f, 0x636363, 1}, {1, 12, -1, -1, -1.5030f, 5.1050f, 0.0000f, 0.0000f, 0x000000, 0}, {1, 255, 3138, 3139, 3.3290f, 6.5270f, 0.8900f, 0.3800f, 0xB5DDFB, 1}, {1, 19, 3140, -1, 1.4650f, 4.4640f, 0.6500f, 0.3100f, 0xB5DDFB, 0}, {1, 255, 3141, 3142, 0.9410f, 4.0880f, 1.3600f, 0.3900f, 0xB5DDFB, 1}, {1, 15, 3143, 3144, 1.6660f, 6.5240f, 1.3000f, 0.3400f, 0xB5DDFB, 1}, {1, 9, 3145, -1, -3.0980f, 6.4880f, 1.1110f, 0.4800f, 0xB5DDFB, 0}, {1, 10, 3147, 3148, -2.2270f, 4.6390f, 0.6800f, 0.8600f, 0xB5DDFB, 1}, {1, 25, 3149, -1, -0.6440f, 4.4430f, 0.7000f, 0.3700f, 0xB5DDFB, 0}, {1, 14, 3151, 3152, 0.8660f, 4.8850f, 1.8584f, 0.5000f, 0xB5DDFB, 1}, {1, 20, 3153, 3154, 2.0720f, 3.8620f, 0.9500f, 0.7900f, 0xB5DDFB, 1}, {1, 17, 3155, 3156, 1.6240f, 5.9190f, 1.3800f, 0.5200f, 0xB5DDFB, 1}, {1, 16, 3157, 3158, 2.6280f, 6.1870f, 0.7000f, 1.0300f, 0xB5DDFB, 1}, {1, 255, 3159, 3160, -0.3640f, 4.0580f, 1.2500f, 0.3500f, 0xB5DDFB, 1}, {1, 255, 3161, 3162, -3.1500f, 4.3130f, 1.1700f, 0.3500f, 0xB5DDFB, 1}, {1, 26, 3163, -1, -3.7180f, 5.7650f, 2.3517f, 0.4300f, 0xB5DDFB, 0}, {1, 13, 3165, 3166, -0.5860f, 5.0990f, 1.1900f, 0.8800f, 0xB5DDFB, 1}, {1, 24, 3167, 3168, -1.4530f, 4.2330f, 0.9600f, 0.6900f, 0xB5DDFB, 1}, {1, 8, 3169, 3170, -2.2170f, 5.8440f, 0.6800f, 1.5700f, 0xB5DDFB, 1}, {1, 11, 3171, -1, -1.5030f, 5.1050f, 0.8500f, 0.8900f, 0xB5DDFB, 0}, {1, 21, 3172, -1, 3.7290f, 3.4460f, 2.4100f, 0.6600f, 0xB5DDFB, 0}, {1, 18, 3174, 3175, 2.0240f, 4.9490f, 0.5900f, 1.4673f, 0xB5DDFB, 1}, {1, 6, 3176, 3177, 0.3470f, 6.6100f, 1.3800f, 0.5000f, 0xB5DDFB, 1}, {1, 5, 3178, 3179, -1.1130f, 6.6140f, 1.5800f, 0.7500f, 0xB5DDFB, 1}, {2, 255, 3180, 3181, -6.5180f, 4.0350f, 1.0100f, 0.8900f, 0xCFFFC3, 1}, {2, 33, 3182, 3183, -10.8980f, 6.4740f, 1.3600f, 0.7100f, 0xCFFFC3, 1}, {2, 32, 3184, 3185, -11.2830f, 5.0920f, 0.5900f, 2.1300f, 0xCFFFC3, 1}, {2, 255, 3186, 3187, -11.8520f, 3.8320f, 1.6500f, 0.4800f, 0xCFFFC3, 1}, {2, 35, 3188, -1, -12.3910f, 5.0270f, 0.5700f, 1.9700f, 0xCFFFC3, 0}, {2, 34, 3189, 3190, -12.2580f, 6.4100f, 1.3800f, 0.8200f, 0xCFFFC3, 1}, {2, 255, 3191, 3192, -7.6750f, 3.7830f, 1.3400f, 0.4200f, 0xCFFFC3, 1}, {2, 30, 3193, -1, -9.2170f, 5.6940f, 1.2300f, 0.4400f, 0xCFFFC3, 0}, {2, 36, 3194, -1, -12.9760f, 5.8120f, 0.6000f, 0.3000f, 0xCFFFC3, 0}, {2, 255, 3195, 3196, -9.6830f, 3.8190f, 2.6800f, 0.4600f, 0xCFFFC3, 1}, {2, 255, 3197, 3198, -6.8080f, 4.7040f, 2.3200f, 0.5100f, 0xCFFFC3, 1}, {2, 37, 3199, 3200, -13.6530f, 6.1350f, 1.4100f, 1.0200f, 0xCFFFC3, 1}, {2, 31, 3201, -1, -10.4130f, 5.6780f, 1.1700f, 0.5500f, 0xCFFFC3, 0}, {2, 29, 3202, 3203, -8.2930f, 5.2090f, 0.6700f, 1.2200f, 0xCFFFC3, 1}, {2, 28, 3204, 3205, -7.6430f, 5.9550f, 0.6700f, 0.7500f, 0xCFFFC3, 1}, {2, 27, 3206, 3207, -6.1000f, 5.8290f, 2.4400f, 0.6700f, 0xCFFFC3, 1}}
-#define MAP_PINS {{0, 0, 3130, -2.0390f, 7.7500f, 133, -1}, {0, 0, 3131, -1.6430f, 7.7500f, 137, -1}, {0, 0, 3132, -2.4700f, 7.7500f, 135, 122}, {0, 0, 3133, -1.2540f, 7.7600f, 135, 123}, {1, 1, 3137, -6.2100f, 7.6800f, 134, -1}, {2, 1, 3137, -1.3150f, 5.0920f, 134, -1}, {4, 0, 3131, 1.2400f, 4.4520f, 137, -1}, {4, 0, 3130, 1.6210f, 4.4490f, 133, -1}, {7, 0, 3146, -3.0697f, 6.4597f, 135, -1}, {9, 0, 3130, -0.3430f, 4.4060f, 133, -1}, {9, 0, 3150, -0.7200f, 4.3930f, 136, -1}, {20, 0, 3130, -1.6940f, 5.0880f, 133, -1}, {21, 0, 3173, 4.5530f, 3.3700f, 135, 124}, {21, 0, 3130, 4.9480f, 3.3820f, 133, -1}, {26, 1, 3137, -10.9970f, 6.6240f, 134, -1}, {27, 0, 3130, -11.2580f, 4.9690f, 133, -1}, {33, 0, 3130, -12.8160f, 5.7890f, 133, -1}, {33, 0, 3131, -13.1960f, 5.7970f, 137, -1}, {39, 0, 3130, -7.6610f, 6.0700f, 133, -1}}
-#define MAP_NEXT {{0, 3134, -1.0730f, 6.4850f, 180.0000f, 380, -1.0730f, 6.1870f, 1, -1}, {16, 3164, -5.2607f, 5.8454f, 90.0000f, 382, -5.5969f, 6.0434f, 2, 16}, {24, 3134, -1.0730f, 7.2500f, 0.0000f, 379, -1.0930f, 7.9120f, 1, -1}, {40, 3134, -4.5300f, 5.8450f, -90.0000f, 380, -4.1075f, 6.0470f, 0, 6}}
+#define MAP_ROOMS {{0, 1, 3159, 3160, -1.9230f, 7.6490f, 4.0800f, 2.1400f, 0xB6B6B6, 1}, {0, 0, 3166, 3167, -5.4430f, 7.4690f, 2.9600f, 1.4800f, 0x636363, 1}, {1, 12, -1, -1, -1.5030f, 5.1050f, 0.0000f, 0.0000f, 0x000000, 0}, {1, 255, 3169, 3170, 3.3290f, 6.5270f, 0.8900f, 0.3800f, 0xB5DDFB, 1}, {1, 19, 3171, -1, 1.4650f, 4.4640f, 0.6500f, 0.3100f, 0xB5DDFB, 0}, {1, 255, 3172, 3173, 0.9410f, 4.0880f, 1.3600f, 0.3900f, 0xB5DDFB, 1}, {1, 15, 3174, 3175, 1.6660f, 6.5240f, 1.3000f, 0.3400f, 0xB5DDFB, 1}, {1, 9, 3176, -1, -3.0980f, 6.4880f, 1.1110f, 0.4800f, 0xB5DDFB, 0}, {1, 10, 3178, 3179, -2.2270f, 4.6390f, 0.6800f, 0.8600f, 0xB5DDFB, 1}, {1, 25, 3180, -1, -0.6440f, 4.4430f, 0.7000f, 0.3700f, 0xB5DDFB, 0}, {1, 14, 3182, 3183, 0.8660f, 4.8850f, 1.8584f, 0.5000f, 0xB5DDFB, 1}, {1, 20, 3184, 3185, 2.0720f, 3.8620f, 0.9500f, 0.7900f, 0xB5DDFB, 1}, {1, 17, 3186, 3187, 1.6240f, 5.9190f, 1.3800f, 0.5200f, 0xB5DDFB, 1}, {1, 16, 3188, 3189, 2.6280f, 6.1870f, 0.7000f, 1.0300f, 0xB5DDFB, 1}, {1, 255, 3190, 3191, -0.3640f, 4.0580f, 1.2500f, 0.3500f, 0xB5DDFB, 1}, {1, 255, 3192, 3193, -3.1500f, 4.3130f, 1.1700f, 0.3500f, 0xB5DDFB, 1}, {1, 26, 3194, -1, -3.7180f, 5.7650f, 2.3517f, 0.4300f, 0xB5DDFB, 0}, {1, 13, 3196, 3197, -0.5860f, 5.0990f, 1.1900f, 0.8800f, 0xB5DDFB, 1}, {1, 24, 3198, 3199, -1.4530f, 4.2330f, 0.9600f, 0.6900f, 0xB5DDFB, 1}, {1, 8, 3200, 3201, -2.2170f, 5.8440f, 0.6800f, 1.5700f, 0xB5DDFB, 1}, {1, 11, 3202, -1, -1.5030f, 5.1050f, 0.8500f, 0.8900f, 0xB5DDFB, 0}, {1, 21, 3203, -1, 3.7290f, 3.4460f, 2.4100f, 0.6600f, 0xB5DDFB, 0}, {1, 18, 3205, 3206, 2.0240f, 4.9490f, 0.5900f, 1.4673f, 0xB5DDFB, 1}, {1, 6, 3207, 3208, 0.3470f, 6.6100f, 1.3800f, 0.5000f, 0xB5DDFB, 1}, {1, 5, 3209, 3210, -1.1130f, 6.6140f, 1.5800f, 0.7500f, 0xB5DDFB, 1}, {2, 255, 3211, 3212, -6.5180f, 4.0350f, 1.0100f, 0.8900f, 0xCFFFC3, 1}, {2, 33, 3213, 3214, -10.8980f, 6.4740f, 1.3600f, 0.7100f, 0xCFFFC3, 1}, {2, 32, 3215, 3216, -11.2830f, 5.0920f, 0.5900f, 2.1300f, 0xCFFFC3, 1}, {2, 255, 3217, 3218, -11.8520f, 3.8320f, 1.6500f, 0.4800f, 0xCFFFC3, 1}, {2, 35, 3219, -1, -12.3910f, 5.0270f, 0.5700f, 1.9700f, 0xCFFFC3, 0}, {2, 34, 3220, 3221, -12.2580f, 6.4100f, 1.3800f, 0.8200f, 0xCFFFC3, 1}, {2, 255, 3222, 3223, -7.6750f, 3.7830f, 1.3400f, 0.4200f, 0xCFFFC3, 1}, {2, 30, 3224, -1, -9.2170f, 5.6940f, 1.2300f, 0.4400f, 0xCFFFC3, 0}, {2, 36, 3225, -1, -12.9760f, 5.8120f, 0.6000f, 0.3000f, 0xCFFFC3, 0}, {2, 255, 3226, 3227, -9.6830f, 3.8190f, 2.6800f, 0.4600f, 0xCFFFC3, 1}, {2, 255, 3228, 3229, -6.8080f, 4.7040f, 2.3200f, 0.5100f, 0xCFFFC3, 1}, {2, 37, 3230, 3231, -13.6530f, 6.1350f, 1.4100f, 1.0200f, 0xCFFFC3, 1}, {2, 31, 3232, -1, -10.4130f, 5.6780f, 1.1700f, 0.5500f, 0xCFFFC3, 0}, {2, 29, 3233, 3234, -8.2930f, 5.2090f, 0.6700f, 1.2200f, 0xCFFFC3, 1}, {2, 28, 3235, 3236, -7.6430f, 5.9550f, 0.6700f, 0.7500f, 0xCFFFC3, 1}, {2, 27, 3237, 3238, -6.1000f, 5.8290f, 2.4400f, 0.6700f, 0xCFFFC3, 1}}
+#define MAP_PINS {{0, 0, 3161, -2.0390f, 7.7500f, 133, -1}, {0, 0, 3162, -1.6430f, 7.7500f, 137, -1}, {0, 0, 3163, -2.4700f, 7.7500f, 135, 122}, {0, 0, 3164, -1.2540f, 7.7600f, 135, 123}, {1, 1, 3168, -6.2100f, 7.6800f, 134, -1}, {2, 1, 3168, -1.3150f, 5.0920f, 134, -1}, {4, 0, 3162, 1.2400f, 4.4520f, 137, -1}, {4, 0, 3161, 1.6210f, 4.4490f, 133, -1}, {7, 0, 3177, -3.0697f, 6.4597f, 135, -1}, {9, 0, 3161, -0.3430f, 4.4060f, 133, -1}, {9, 0, 3181, -0.7200f, 4.3930f, 136, -1}, {20, 0, 3161, -1.6940f, 5.0880f, 133, -1}, {21, 0, 3204, 4.5530f, 3.3700f, 135, 124}, {21, 0, 3161, 4.9480f, 3.3820f, 133, -1}, {26, 1, 3168, -10.9970f, 6.6240f, 134, -1}, {27, 0, 3161, -11.2580f, 4.9690f, 133, -1}, {33, 0, 3161, -12.8160f, 5.7890f, 133, -1}, {33, 0, 3162, -13.1960f, 5.7970f, 137, -1}, {39, 0, 3161, -7.6610f, 6.0700f, 133, -1}}
+#define MAP_NEXT {{0, 3165, -1.0730f, 6.4850f, 180.0000f, 380, -1.0730f, 6.1870f, 1, -1}, {16, 3195, -5.2607f, 5.8454f, 90.0000f, 382, -5.5969f, 6.0434f, 2, 16}, {24, 3165, -1.0730f, 7.2500f, 0.0000f, 379, -1.0930f, 7.9120f, 1, -1}, {40, 3165, -4.5300f, 5.8450f, -90.0000f, 380, -4.1075f, 6.0470f, 0, 6}}
#define MAP_NAMES {{0, -1, 378, -0.2000f, 8.3901f, 0xFFFFFF, 1, 0}, {0, -1, 379, 3.3200f, 8.4801f, 0xFFFFFF, 1, 1}, {1, -1, 380, 6.7700f, 3.3701f, 0xB5DCFB, 1, 1}, {1, 20, 383, 3.4800f, 5.6971f, 0xB5DCFB, 1, 0}, {2, -1, 382, -5.0993f, 5.4501f, 0xCFFFC3, 0, 1}}
#define MAP_QUICK_K 1.5500f
-#define MAP_SHADE {{3208, 0.0055f, -0.0110f, 178}, {3209, 0.0000f, 0.0000f, 255}}
-#define MAP_MARKERS {3210, 3211, 3212, 3213}
+#define MAP_SHADE {{3239, 0.0055f, -0.0110f, 178}, {3240, 0.0000f, 0.0000f, 255}}
+#define MAP_MARKERS {3241, 3242, 3243, 3244}
#define MAP_COMPASS_K 0.7000f
#define MAP_BG_A 0.4438f
#define MAP_TITLE {0.0000f, 7.5363f}
-#define MAP_TITLE_BACK {3214, 0.2520f, 7.1073f, 1.0000f, 0.6696f, 246}
-#define MAP_NO_MAP {3215, 0.0000f, 0.9400f}
+#define MAP_TITLE_BACK {3245, 0.2520f, 7.1073f, 1.0000f, 0.6696f, 246}
+#define MAP_NO_MAP {3246, 0.0000f, 0.9400f}
#define MAP_NO_MAP_MSG {386, -0.0600f, -1.2932f}
-#define MAP_MSG {-1.2900f, -6.8300f, 0.0000f, 0.0420f, 0.9865f, -0.0210f, 387, 3216, 1.9740f, -0.0840f, 1.0000f, 0.6931f, 179}
+#define MAP_MSG {-1.2900f, -6.8300f, 0.0000f, 0.0420f, 0.9865f, -0.0210f, 387, 3247, 1.9740f, -0.0840f, 1.0000f, 0.6931f, 179}
#define MAP_MSG_K 0.7000f
#define FIRSTMAP_BG_A 0.6410f
#define FIRSTMAP_TEXTS {{388, 0.0000f, 5.0305f}, {182, 0.0000f, -0.8796f}, {389, 0.0000f, -3.2895f}, {390, 0.0000f, -4.6996f}}
-#define FIRSTMAP_PIECES {{3217, 0.0000f, 2.1300f, 1.0000f, 1.0000f}, {3218, 0.0000f, 0.0200f, 1.0000f, 0.0771f}, {3219, 0.0000f, -6.4000f, 1.0000f, 1.0000f}}
+#define FIRSTMAP_PIECES {{3248, 0.0000f, 2.1300f, 1.0000f, 1.0000f}, {3249, 0.0000f, 0.0200f, 1.0000f, 0.0771f}, {3250, 0.0000f, -6.4000f, 1.0000f, 1.0000f}}
#define FIRSTMAP_KEY {391, 0.0900f, -2.3200f}
-#define MAP_WIDE {{{3220, 3.0400f, -6.6800f, 1.0000f, 1.0000f}, 392, {8.7184f, -6.2919f, 11.0476f}, 4.0000f, -8.6420f, 3.3800f, -7.0700f, {1000.0000f, -1000.0000f, 1000.0000f, -1000.0000f}}, {{3221, 4.2300f, -8.2600f, 1.0000f, 1.0000f}, 393, {9.9990f, -7.8578f, 11.7784f}, -0.0400f, -7.5800f, 3.0300f, -8.2300f, {1000.0000f, -1000.0000f, 1000.0000f, -1000.0000f}}, {{3222, -0.6100f, -7.9700f, 1.0000f, 1.0000f}, 394, {5.6452f, -7.7738f, 11.8448f}, 16.4200f, -7.3200f, 0.4000f, -8.5800f, {1000.0000f, 17.2600f, 1000.0000f, -6.2200f}}}
+#define MAP_WIDE {{{3251, 3.0400f, -6.6800f, 1.0000f, 1.0000f}, 392, {8.7184f, -6.2919f, 11.0476f}, 4.0000f, -8.6420f, 3.3800f, -7.0700f, {1000.0000f, -1000.0000f, 1000.0000f, -1000.0000f}}, {{3252, 4.2300f, -8.2600f, 1.0000f, 1.0000f}, 393, {9.9990f, -7.8578f, 11.7784f}, -0.0400f, -7.5800f, 3.0300f, -8.2300f, {1000.0000f, -1000.0000f, 1000.0000f, -1000.0000f}}, {{3253, -0.6100f, -7.9700f, 1.0000f, 1.0000f}, 394, {5.6452f, -7.7738f, 11.8448f}, 16.4200f, -7.3200f, 0.4000f, -8.5800f, {1000.0000f, 17.2600f, 1000.0000f, -6.2200f}}}
#define MAP_WIDE_GREY 0x5C
#define MAP_WIDE_NAME_GREY 0x5B
#define MAP_WIDE_COMPASS_K 0.8700f
#define MAP_ZOOM {0.2800f, -2.8000f, 0.4360f, 1.3000f}
#define MAP_PAN {-1.4400f, 4.5500f, -8.6420f, -5.5800f}
#define MAP_PAN_SPEED 8.0000f
-#define MAP_PAN_ARROWS {{3223, 3.9700f, -2.1900f, 1.0f, 0.0000f}, {3223, 4.0400f, -13.4900f, 1.0f, 180.0000f}, {3223, -9.0000f, -7.1700f, 1.0f, 90.0000f}, {3223, 17.1900f, -7.1700f, 1.0f, -90.0000f}}
-#define MAP_ACT_CONFIRM {{3224, 15.3897f, -13.3139f, 1.0000f, 0.8889f}, {16.9008f, -13.2878f}, {16.1269f, -13.0221f, 15.3500f}, {395, 396, 396}}
-#define MAP_ACT_MARKER {{3224, -6.9500f, -13.3138f, 1.0000f, 0.8889f}, {-8.5394f, -13.2877f}, {-7.7259f, -13.0223f, 7.6740f}, {397, 398, 399}}
-#define MAP_ACT_CANCEL {{3224, 15.3897f, -13.3138f, 1.0000f, 0.8889f}, {16.9008f, -13.2877f}, {16.1259f, -13.0223f, 15.3480f}, {311, 311, 311}}
-#define MAP_ACT_CHANGE {{3224, -6.9500f, -12.0238f, 1.0000f, 0.8889f}, {-8.5394f, -11.9977f}, {-7.7259f, -11.7323f, 7.6740f}, {400, 400, 400}}
-#define MAP_ACT_KEY {{3224, 15.3897f, -12.2039f, 1.0000f, 0.8889f}, {16.9008f, -12.1778f}, {16.3265f, -11.9122f, 15.3500f}, {401, 402, 403}}
-#define MAP_KEY_BB {3225, 13.6200f, 3.4200f, 0.3781f, 1.0000f}
+#define MAP_PAN_ARROWS {{3254, 3.9700f, -2.1900f, 1.0f, 0.0000f}, {3254, 4.0400f, -13.4900f, 1.0f, 180.0000f}, {3254, -9.0000f, -7.1700f, 1.0f, 90.0000f}, {3254, 17.1900f, -7.1700f, 1.0f, -90.0000f}}
+#define MAP_ACT_CONFIRM {{3255, 15.3897f, -13.3139f, 1.0000f, 0.8889f}, {16.9008f, -13.2878f}, {16.1269f, -13.0221f, 15.3500f}, {395, 396, 396}}
+#define MAP_ACT_MARKER {{3255, -6.9500f, -13.3138f, 1.0000f, 0.8889f}, {-8.5394f, -13.2877f}, {-7.7259f, -13.0223f, 7.6740f}, {397, 398, 399}}
+#define MAP_ACT_CANCEL {{3255, 15.3897f, -13.3138f, 1.0000f, 0.8889f}, {16.9008f, -13.2877f}, {16.1259f, -13.0223f, 15.3480f}, {311, 311, 311}}
+#define MAP_ACT_CHANGE {{3255, -6.9500f, -12.0238f, 1.0000f, 0.8889f}, {-8.5394f, -11.9977f}, {-7.7259f, -11.7323f, 7.6740f}, {400, 400, 400}}
+#define MAP_ACT_KEY {{3255, 15.3897f, -12.2039f, 1.0000f, 0.8889f}, {16.9008f, -12.1778f}, {16.3265f, -11.9122f, 15.3500f}, {401, 402, 403}}
+#define MAP_KEY_BB {3256, 13.6200f, 3.4200f, 0.3781f, 1.0000f}
#define MAP_KEY_STEP -0.8250f
-#define MAP_KEY_ROWS {{{3226, 11.8600f, -1.7400f, 1.0000f, 1.0000f}, 404, {12.7550f, -1.5413f, 15.3500f}}, {{3227, 11.8600f, -1.7400f, 1.0000f, 1.0000f}, 405, {12.7550f, -1.5413f, 15.3500f}}, {{3228, 11.7720f, -1.7460f, 1.0000f, 1.0000f}, 406, {12.7550f, -1.5413f, 15.3500f}}, {{3229, 11.8600f, -1.7400f, 1.0000f, 1.0000f}, 407, {12.7550f, -1.5413f, 15.3500f}}, {{3230, 11.8600f, -1.7400f, 1.0000f, 1.0000f}, 408, {12.7550f, -1.5413f, 15.3500f}}}
+#define MAP_KEY_ROWS {{{3257, 11.8600f, -1.7400f, 1.0000f, 1.0000f}, 404, {12.7550f, -1.5413f, 15.3500f}}, {{3258, 11.8600f, -1.7400f, 1.0000f, 1.0000f}, 405, {12.7550f, -1.5413f, 15.3500f}}, {{3259, 11.7720f, -1.7460f, 1.0000f, 1.0000f}, 406, {12.7550f, -1.5413f, 15.3500f}}, {{3260, 11.8600f, -1.7400f, 1.0000f, 1.0000f}, 407, {12.7550f, -1.5413f, 15.3500f}}, {{3261, 11.8600f, -1.7400f, 1.0000f, 1.0000f}, 408, {12.7550f, -1.5413f, 15.3500f}}}
#define MAP_KEY_FLAGS {133, 134, 135, 136, 137}
#define MAP_KEY_N 5
-#define MAP_MM_PIECES {{3231, 4.0500f, -12.3700f, 1.0000f, 1.0000f}, {3232, 4.0100f, -12.9500f, 0.7510f, 1.0000f}, {3233, 1.9000f, -12.3700f, 1.0000f, 1.0000f}, {3234, 1.9000f, -12.3700f, 1.0000f, 1.0000f}}
-#define MAP_MM_MARKERS {3235, 3236, 3237, 3238}
+#define MAP_MM_PIECES {{3262, 4.0500f, -12.3700f, 1.0000f, 1.0000f}, {3263, 4.0100f, -12.9500f, 0.7510f, 1.0000f}, {3264, 1.9000f, -12.3700f, 1.0000f, 1.0000f}, {3265, 1.9000f, -12.3700f, 1.0000f, 1.0000f}}
+#define MAP_MM_MARKERS {3266, 3267, 3268, 3269}
#define MAP_MM_AMOUNT {0.0000f, -0.6416f, 1.0614f}
#define MAP_MM_ROW {0.0000f, 0.4400f, 1.9000f, 1.4333f, -12.8200f}
-#define MAP_MM_PLACE {3239, 4.0500f, -7.9900f, -4.9500f, 13.0500f, -10.5500f, -3.5500f, 7.0000f, 20.0000f}
+#define MAP_MM_PLACE {3270, 4.0500f, -7.9900f, -4.9500f, 13.0500f, -10.5500f, -3.5500f, 7.0000f, 20.0000f}
#define MAP_MM_RADII 0.8900f
#define MAP_MM_UI_PAUSE 0.2000f
#define TXT_KEY_SHIFT 409
diff --git a/games/hollowknight/src/enemy.c b/games/hollowknight/src/enemy.c
index 2b240af8..10abbd98 100644
--- a/games/hollowknight/src/enemy.c
+++ b/games/hollowknight/src/enemy.c
@@ -18,7 +18,7 @@
enum {
EF_CRAWLER = 1, EF_BUZZER, EF_SHADE, EF_HUSK, EF_CLIMBER, EF_BOUNCER, EF_SPITTER, EF_ROLLER, EF_BLOCKER, EF_LEAPER, EF_GUARD,
EF_FK, EF_FKHEAD, EF_GFLY, EF_HATCHER, EF_HATCHLING, EF_SLUG, EF_MOSSWALKER, EF_PIGEON, EF_PLANTTRAP, EF_SHAKER,
- EF_MOSQUITO, EF_FATFLY, EF_MOSSCHARGER, EF_MOSSKNIGHT, EF_HORNET
+ EF_MOSQUITO, EF_FATFLY, EF_MOSSCHARGER, EF_MOSSKNIGHT, EF_HORNET, EF_MENDER
};
enum { R_IDLE, R_TURN, R_WALK, R_A1, R_A2, R_A3, R_A4, R_A5, R_A6, R_A7, R_A8, R_DEATH_AIR, R_DEATH_LAND, NUM_ROLES };
typedef struct {
@@ -302,7 +302,20 @@ static uint8_t flash_tint_at(bool on, float t, int slot) {
return gfx_dyn_flash(slot, 255, 255, 255, 255, 255, 79, 0, (uint8_t)(0.9f * k * 255));
}
-static uint8_t flash_tint(const Enemy *e, int slot) { return flash_tint_at(e->flashing, e->flash_t, slot); }
+/* (uninfected (EnemyDeathEffectsUninfected, EnemyHitEffectsUninfected): flashFocusHeal, white: up 0.01 s, stays 0.01 s,
+ * down over 0.35 s, to 0.85) */
+static uint8_t flash_white_at(bool on, float t, int slot) {
+ if (!on || t > 0.37f) return 0;
+ float k = t < 0.01f ? t / 0.01f : t < 0.02f ? 1 : 1 - (t - 0.02f) / 0.35f;
+ if (k < 0) k = 0;
+ return gfx_dyn_flash(slot, 255, 255, 255, 255, 255, 255, 255, (uint8_t)(0.85f * k * 255));
+}
+
+static bool uninfected(const Enemy *e) { return e->ent != NO_ENT && (ent_at(e->ent)->s1 >> 12 & 3) == 1; }
+
+static uint8_t flash_tint(const Enemy *e, int slot) {
+ return uninfected(e) ? flash_white_at(e->flashing, e->flash_t, slot) : flash_tint_at(e->flashing, e->flash_t, slot);
+}
/* ---------------------------------------------------------------- Recoil */
#define RF_NONE 0x80 /* (no Recoil component) */
@@ -420,6 +433,7 @@ static void enemy_die(Enemy *e, float direction, bool has_direction) {
persist_set(d->persist), enemy_terrain_off(d);
if (d->s1 & EF_BATTLE) arena_enemy_died(); /* (its battleScene's Battle Enemies) */
}
+ if (FSM(e) == EF_MENDER) g_pd.mender_state = 2; /* (Killed) */
if (FSM(e) == EF_GFLY) gfly_die(e);
else if (FSM(e) == EF_HORNET) hornet_corpse_start(e);
else if (FSM(e) == EF_HATCHLING) {
@@ -4261,6 +4275,53 @@ static void pigeon_fixed(Enemy *e) {
e->body.x += e->body.vx * DT, e->body.y += e->body.vy * DT; /* (a trigger: touches nothing) */
}
+/* ---------------------------------------------------------------- the Mender Bug (Mender Bug Ctrl): by the sign once it
+ * was broken, one time in fifty; startled as the Knight comes near, it flies off (by 15 across, 20 up in a second,
+ * easeInSine) and is gone. Killed, menderState 2. */
+enum { MB_IDLE, MB_STARTLE, MB_FLY };
+static void mender_start(Enemy *e) {
+ /* Dead?, Sign Broken?, Chance (the sign mended either way) */
+ if (g_pd.mender_state == 2 || !pd_flag(PDF_MENDER_SIGN_BROKEN)) {
+ e->mode = EM_OFF;
+ return;
+ }
+ pd_set_flag(PDF_MENDER_SIGN_BROKEN, false);
+#ifdef HOST
+ bool here = getenv("HKMENDER") != NULL; /* (tests: always) */
+#else
+ bool here = false;
+#endif
+ if (!here && (int)rand_range(1, 50.999f) != 50) {
+ e->mode = EM_OFF;
+ return;
+ }
+ e->st = MB_IDLE;
+}
+
+static void mender_update(Enemy *e) {
+ bool done = (e->anim.events & ANIM_DONE) != 0;
+ if (e->st == MB_IDLE) {
+ if (!e->in_alert) return;
+ /* (HERO ENTER) Direction: away from the Knight (flying right, turned) */
+ bool right = hero_x() <= e->body.x;
+ if (right) set_scale_x(e, -e->sx);
+ e->tx = right ? 15.0f : -15.0f, e->ty = 20;
+ e->st = MB_STARTLE;
+ anim_play_from_frame(&e->anim, CLIP(e, R_A1), 0);
+ } else if (e->st == MB_STARTLE) {
+ if (!done && e->anim.playing) return;
+ /* Fly: its collider off, by its vector in a second */
+ e->st = MB_FLY, e->t0 = 0, e->start_x = e->body.x, e->start_y = e->body.y;
+ e->flags |= 1;
+ anim_play(&e->anim, CLIP(e, R_A2));
+ } else {
+ e->t0 += DT;
+ float q = e->t0 >= 1 ? 1 : e->t0, k = 1 - cosf(q * 1.5707964f);
+ e->body.x = e->start_x + e->tx * k, e->body.y = e->start_y + e->ty * k;
+ if (e->t0 >= 1) e->mode = EM_OFF; /* (DESTROY) */
+ }
+}
+
/* ---------------------------------------------------------------- Fool Eaters: Plant Trap Control (snaps as the Knight
* steps over its Detector; only its frames have colliders) */
enum { PT_IDLE, PT_READY, PT_SNAP, PT_RETRACT, PT_COOLDOWN };
@@ -6294,6 +6355,7 @@ static void enemy_fsm_start(Enemy *e, const Ent *d) {
else if (FSM(e) == EF_SLUG) slug_start(e);
else if (FSM(e) == EF_MOSSWALKER) mosswalker_start(e);
else if (FSM(e) == EF_PIGEON) pigeon_start(e);
+ else if (FSM(e) == EF_MENDER) mender_start(e);
else if (FSM(e) == EF_PLANTTRAP) planttrap_start(e);
else if (FSM(e) == EF_SHAKER) shaker_start(e);
else if (FSM(e) == EF_MOSQUITO) mosquito_start(e, d);
@@ -6575,7 +6637,7 @@ void enemies_update(void) {
if (e->mode == EM_OFF) continue;
e->anim.events = 0;
anim_update(&e->anim, DT);
- if (e->flashing && (e->flash_t += DT) > 0.27f) e->flashing = false;
+ if (e->flashing && (e->flash_t += DT) > (uninfected(e) ? 0.37f : 0.27f)) e->flashing = false;
if (e->mode == EM_ALIVE) {
frame_collider(e);
if (e->evasion > 0) e->evasion -= DT;
@@ -6610,6 +6672,7 @@ void enemies_update(void) {
else if (FSM(e) == EF_SLUG) slug_update(e);
else if (FSM(e) == EF_MOSSWALKER) mosswalker_update(e);
else if (FSM(e) == EF_PIGEON) pigeon_update(e);
+ else if (FSM(e) == EF_MENDER) mender_update(e);
else if (FSM(e) == EF_PLANTTRAP) planttrap_update(e);
else if (FSM(e) == EF_SHAKER) shaker_update(e);
else if (FSM(e) == EF_MOSQUITO) mosquito_update(e);
diff --git a/games/hollowknight/src/game.h b/games/hollowknight/src/game.h
index b5558a38..5cced0ee 100644
--- a/games/hollowknight/src/game.h
+++ b/games/hollowknight/src/game.h
@@ -39,7 +39,7 @@ enum {
PDF_SALUBRA_NOTCH4, PDF_MET_STAG, PDF_CORNIFER_AT_HOME, PDF_ISELDA_CONVO1, PDF_ISELDA_CORNIFER_HOME_CONVO,
PDF_SALUBRA_CONVO_COMBO, PDF_SALUBRA_CONVO_OVERCHARM, PDF_SALUBRA_CONVO_TRUTH, PDF_SLY_CONVO_MAPPER,
PDF_OPENED_CROSSROADS, PDF_OPENED_GREENPATH, PDF_TRAVELLING, PDF_STAG_REMEMBER1, PDF_STAG_CONVO_TISO,
- PDF_QUIRREL_LEFT_EGG_TEMPLE, PDF_MET_CORNIFER, PDF_CORN_CROSSROADS_ENCOUNTERED, PDF_CORNIFER_INTRODUCED, PDF_COUNT
+ PDF_QUIRREL_LEFT_EGG_TEMPLE, PDF_MET_CORNIFER, PDF_CORN_CROSSROADS_ENCOUNTERED, PDF_CORNIFER_INTRODUCED, PDF_MENDER_SIGN_BROKEN, PDF_COUNT
};
typedef struct {
/* (saved: the layout only ever grows into reserved) */
@@ -76,7 +76,8 @@ typedef struct {
/* (scenesVisited, scenesMapped (the quill's), scenesEncounteredCocoon (a lifeblood cocoon broken there): by room) */
uint8_t rooms_visited[5], rooms_mapped[5], rooms_cocoon[5];
uint8_t map_key_pref; /* (mapKeyPref: the map's key and its pins shown 0, the pins only 1, neither 2) */
- uint8_t reserved[14];
+ uint8_t mender_state; /* (menderState: 1 the sign broken once, 2 the Mender Bug killed) */
+ uint8_t reserved[13];
/* (save version 2 on) the markers placed on the map (placedMarkers_b, _r, _y, _w: their places, 1/100 map units) */
uint8_t markers_placed[4];
int16_t markers[4][6][2];
diff --git a/games/hollowknight/src/vm.c b/games/hollowknight/src/vm.c
index 2514f8e5..0100b119 100644
--- a/games/hollowknight/src/vm.c
+++ b/games/hollowknight/src/vm.c
@@ -237,6 +237,7 @@ static int pd_int(int i) {
case 21: return g_pd.grub_rewards;
case 22: return (int)g_pd.stag_position1 - 1;
case 23: return g_pd.stations_opened;
+ case 25: return g_pd.mender_state;
default: return 0;
}
}
@@ -258,6 +259,7 @@ static void pd_set_int(int i, int v) {
case 21: g_pd.grub_rewards = (uint8_t)v; break;
case 22: g_pd.stag_position1 = (uint8_t)(v + 1); break;
case 23: g_pd.stations_opened = (uint8_t)v; break;
+ case 25: g_pd.mender_state = (uint8_t)v; break;
}
}
@@ -640,7 +642,7 @@ static bool act(Fsm *f, const uint8_t *a, int mode) {
case VMOP_FLINGPIECE: {
int o = oval(f, rv(&r));
bool hide = rb(&r), snap = rb(&r);
- uint16_t sprite = rv(&r);
+ int sprite = rv(&r) + VM_PIECE_BASE; /* (named as the scripts were made: before the room sprites' place) */
uint8_t layer = rb(&r);
uint16_t order = rv(&r);
uint8_t pfl = rb(&r);
diff --git a/games/hollowknight/tests/play.c b/games/hollowknight/tests/play.c
index 823ad0e9..29c47120 100644
--- a/games/hollowknight/tests/play.c
+++ b/games/hollowknight/tests/play.c
@@ -67,6 +67,7 @@ int main(int argc, char **argv) {
if (getenv("HKFIRE")) g_pd.fireball_level = atoi(getenv("HKFIRE"));
if (getenv("HKHORNETGP")) g_pd.hornet_greenpath = (uint8_t)atoi(getenv("HKHORNETGP"));
if (getenv("HKDASH")) g_pd.has_dash = true;
+ if (getenv("HKMENDERSTATE")) g_pd.mender_state = (uint8_t)atoi(getenv("HKMENDERSTATE"));
if (getenv("HKMAPPED")) memset(g_pd.rooms_mapped, 0xFF, sizeof g_pd.rooms_mapped); /* (every room mapped) */
if (getenv("HKTRINKETS")) /* (relics: "1,2,0,0") */
sscanf(getenv("HKTRINKETS"), "%hhu,%hhu,%hhu,%hhu", &g_pd.trinkets[0], &g_pd.trinkets[1], &g_pd.trinkets[2], &g_pd.trinkets[3]);
diff --git a/games/hollowknight/tools/actors.py b/games/hollowknight/tools/actors.py
index 250d4dac..8ece2e4a 100644
--- a/games/hollowknight/tools/actors.py
+++ b/games/hollowknight/tools/actors.py
@@ -93,6 +93,8 @@ ENEMY_KINDS = [
"Sphere Ball", "Fall", "Throw Antic", "Throw", "Throw Recover", "Needle", "Needle Thread", "Run", "Hard Land",
"Evade Antic", "Evade", "Stun Air", "Stun", "Air Dash Effect", "G Dash Effect", "Flash", "Throw Effect", "Wounded",
"Flourish"]),
+ # (the Mender Bug: by the Crossroads' sign, now and then)
+ ("mender", "Mender Bug Ctrl", ("sharedassets37.assets", 158), "MENDER", {"IDLE": "Idle", "A1": "Startle", "A2": "Fly"}),
]
ENEMY_CORPSE_LIBS = {} # (name -> its corpse's library, if not its own)
diff --git a/games/hollowknight/tools/ents.py b/games/hollowknight/tools/ents.py
index 5fd8ab8c..97d4172e 100644
--- a/games/hollowknight/tools/ents.py
+++ b/games/hollowknight/tools/ents.py
@@ -42,7 +42,7 @@ ENEMY_VARS = {"Zombie Swipe": (["Lunge Speed", "Idle Time"], ["Coward"]),
TRIGGER_BODIES = {"Pigeon"}
FRAME_BODIES = {"Plant Trap Control", "Mossy Control"}
RANGES = {"Moss Walker": ("Wake Range",), "Pigeon": ("Hero Range", "Enemy Range"), "Plant Trap Control": ("Detector",),
- "Moss Knight Control": ("Wake Box",)}
+ "Moss Knight Control": ("Wake Box",), "Mender Bug Ctrl": ("Hero Detect",)}
# (enemies whose attacks start with their colliders off: those still kept, off)
HITBOXES_OFF = {"Moss Knight Control"}
# what follows an enemy's record: ENT_BOX records, tagged
diff --git a/games/hollowknight/tools/pack.py b/games/hollowknight/tools/pack.py
index 7f304181..467a07ad 100644
--- a/games/hollowknight/tools/pack.py
+++ b/games/hollowknight/tools/pack.py
@@ -470,6 +470,7 @@ def main():
row.append(TEXTS.add(line, style) if line else -1)
titles.append("{%s}" % ", ".join(str(i) for i in row))
fleurs = actors.title_fleurs(SPRITES)
+ fleurs["VM_PIECE_BASE"] = SPRITES.base # (the sprites the scripts' debris named, before it was known: theirs from it)
# the message as an item is taken (UI Msg Get Item, on the HUD): each item's texts, the message's sprites, the
# items' icons
msgs = []
diff --git a/games/hollowknight/tools/vm.py b/games/hollowknight/tools/vm.py
index d0dc06eb..31230bb7 100644
--- a/games/hollowknight/tools/vm.py
+++ b/games/hollowknight/tools/vm.py
@@ -27,7 +27,7 @@ ROOMS = {
"Bone Gate", "Reminder Cast (1)",
"_Areas/Death Respawn Trigger 1"],
# items lying about (Shiny Item: a relic, a charm), the City Crest the False Knight leaves
- "Crossroads_01": ["Shiny Item", "Force Hard Landing"],
+ "Crossroads_01": ["Shiny Item", "Force Hard Landing", "_Scenery/sign_post_03/Crossroads Sign Post"],
"Tutorial_01": ["_Props/Chest/Item", "_Props/Collapser Tute 01", "_Scenery/Break Floor 1", "Interact Reminder",
"_Props/Tute Door 5/Active/Jump Reminder", "_Props/Tut_tablet_top", "_Props/Tut_tablet_top (1)",
"_Props/Tut_tablet_top (2)"], # (its chest: src/obj.c, which turns on what is in it)
@@ -50,7 +50,7 @@ ROOMS = {
"Toll Gate", "Toll Gate (1)"],
# the world's other scripted things: walls that break, floors, a soul totem, tablets, a wall that turns on
"Crossroads_08": ["Break Wall 2"],
- "Crossroads_04": ["_Scenery/Break Floor 1", "CamLock Destroyer"],
+ "Crossroads_04": ["_Scenery/Break Floor 1", "CamLock Destroyer", "_Transition Gates/Mender Door"],
"Crossroads_19": ["Soul Totem mini_two_horned"],
"Crossroads_21": ["Breakable Wall", "Polygon_Collider_Cross_21 1/Roof Collider (1)", "Collapser Small"],
"Crossroads_07": ["Breakable Wall_Silhouette"],
@@ -145,6 +145,8 @@ SKIP_FSMS = {"npc_dream_dialogue", "Dream Dialogue", "Rotate", "Shop Open Voice"
SKIP_CLASSES = {"SpellGetOrb", "ParticleSystem"}
SKIP_NAMES = {"Dream Dialogue", "Dream Dialogue Flower", "Flower", "Flower Give", "white_light", "white_light 1",
"Knight Lift"}
+# (the Mender House's door: its inspect region, for a key there is none of, never on)
+SKIP_PATHS = {("Crossroads_04", "_Transition Gates/Mender Door/Inspect")}
MAX_OBJS, MAX_FSMS, MAX_VARS, MAX_ANIMS = 48, 26, 256, 20 # (src/vm.c)
# the grubs in this part of the game (Crossroads_03, Fungus1_21): the Grubfather's rewards past them never come
GRUBS = 2
@@ -164,7 +166,7 @@ O_NONE = 0xFFFF
PD_INTS = ["MPCharge", "health", "maxHealth", "geo", "fireballLevel", "quakeLevel", "screamLevel", "shaman", "elderbug",
"permadeathMode", "nailDamage", "hornetGreenpath", "quirrelEggTemple", "charmsOwned", "trinket1", "trinket2",
"trinket3", "trinket4", "rancidEggs", "ore", "grubsCollected", "grubRewards", "stagPosition", "stationsOpened",
- "xunFlowerBrokeTimes"]
+ "xunFlowerBrokeTimes", "menderState"]
# PlayerData bools kept elsewhere (src/vm.c)
PD_SPECIAL = {"disablePause": 0xFFF0, "hasSpell": 0xFFF1, "canDash": 0xFFF2}
# PlayerData bools that keep their new game value all through this part of the game
@@ -489,6 +491,8 @@ class Room:
cls = {c.get("class") or c["type"] for c in o["c"]}
if o["path"].startswith("Grub King/Rewards Parent/Reward ") and int(o["name"].split()[-1]) > GRUBS:
return False
+ if (self.name, o["path"]) in SKIP_PATHS or any((self.name, p) in SKIP_PATHS for p in _ancestors(o["path"])):
+ return False
return not (cls & SKIP_CLASSES) and o["name"] not in SKIP_NAMES and o["name"] not in HUD_CHILDREN
def referenced(self):
@@ -649,6 +653,11 @@ def _slots(vars_, keep=None):
return out, n
+def _ancestors(path):
+ parts = path.split("/")
+ return ["/".join(parts[:i]) for i in range(1, len(parts))]
+
+
def _dollars(v):
"""the variables a parameter names ($name), however deep"""
if isinstance(v, str):
@@ -789,6 +798,12 @@ class Compiler:
return 1 if Q["childName"] == "Stop" else 2
return None
+ def owner_var(self, v):
+ """a gameObject variable GetOwner sets (its owner)"""
+ return isinstance(v, str) and v.startswith("$") and any(
+ a["name"] == "GetOwner" and dict(a["params"]).get("storeGameObject") == v
+ for s in self.f["states"] for a in s["actions"])
+
def static_child(self, v):
"""a gameObject variable FindChild sets from its owner (always the same child) -> that child"""
if not (isinstance(v, str) and v.startswith("$")):
@@ -796,7 +811,8 @@ class Compiler:
for s in self.f["states"]:
for a in s["actions"]:
Q = dict(a["params"])
- if a["name"] == "FindChild" and Q.get("storeResult") == v and Q.get("gameObject") == "Owner":
+ if a["name"] == "FindChild" and Q.get("storeResult") == v and (Q.get("gameObject") == "Owner" or
+ self.owner_var(Q.get("gameObject"))):
return next((q for q in self.rm.by_id.values() if q.get("parent") == self.o["id"] and
q["name"] == Q.get("childName")), None)
return None
@@ -979,7 +995,7 @@ class Compiler:
"GetLastEvent", "SetBoxCollider2DSize", "Tk2dSpriteSetColor", "SetTextMeshProColor",
"AudioPlayRandom", "SetName", "GameObjectIsNull", "PlayVibrationV2",
"SpawnFromPool", "SpawnRandomObjects", "Rotate", "GetEventSender", "SetMaterialColor",
- "GetMaterialColor", "EaseColor"):
+ "GetMaterialColor", "EaseColor", "GetMidPoint", "SetAudioClip"):
return None
if n == "SendEventByNameV2":
n = "SendEventByName"
@@ -1006,6 +1022,9 @@ class Compiler:
return self.emit("DialoguePlace", {"which": self.dialogue_part(P.get("gameObject")), "y": P.get("y")})
if n in ("GetFsmInt", "GetFsmFloat") and P.get("gameObject") == "$Damager":
# (the hit's damages_enemy: its damage, its attack's type (0 the nail, 2 a spell), its direction)
+ if P.get("variableName") == "magnitudeMult":
+ # (its magnitude: 1, the nail's and the spells' here)
+ return self.emit("SetFloatValue", {"floatVariable": P.get("storeValue"), "floatValue": 1.0})
which = {"damageDealt": 0, "attackType": 1, "direction": 2}.get(P.get("variableName"))
if which is None:
self.problem("%s Damager %s" % (n, P.get("variableName")))
@@ -1856,7 +1875,8 @@ def _const_vars(f, external=()):
for a in st["actions"]:
for k, v in a["params"]:
if isinstance(v, str) and v.startswith("$") and (k.startswith("store") or k.endswith("Bool") and k != "boolName" or
- (a["name"] in ("SetBoolValue", "BoolFlip") and k == "boolVariable")):
+ (a["name"] in ("SetBoolValue", "BoolFlip") and k == "boolVariable") or
+ k in _outputs(a["name"])):
written.add(v[1:])
out = {n: bool(val) for n, (t, val) in f["vars"].items() if t == "bool" and n not in written}
_, _, inline = _layout(f, external)
@@ -1864,6 +1884,11 @@ def _const_vars(f, external=()):
return out
+def _outputs(name):
+ """an action's parameters it writes (its op's stores: F, I, B, S, O, V3)"""
+ return {k for k, kind in OPS.get(name, (0, ()))[1] if kind in ("F", "I", "B", "S", "O", "V3")}
+
+
def _events_of_state(f, s, consts=None, where=False):
"""the events this state's actions can send it (None: any of the transitions': unknown)"""
known = dict(consts or {}) # (variables whose value is known here)
@@ -1970,7 +1995,10 @@ def _events_of_state(f, s, consts=None, where=False):
if var(P.get("boolVariable")):
known[var(P.get("boolVariable"))] = bval(P.get("boolValue"))
continue
- # anything else: whatever events it names
+ # anything else: whatever events it names (what it writes, no longer known)
+ for k in _outputs(n):
+ if var(P.get(k)):
+ known[var(P.get(k))] = None
for k, v in a["params"]:
if isinstance(v, (list, tuple)) and v and v[0] == "event":
out.add(v[1])