Deltarune script viewer
gml_GlobalScript_scr_armorcheck_inventory
This script exists in multiple chapters:
Chapter 1
Chapter 2