M620 / m621?

You will need to change these G-codes for the A1 edits.

M140 S[first_layer_bed_temperature] ;set bed temp

M190 S[first_layer_bed_temperature] ;wait for bed temp

M109 S{first_layer_temperature[initial_extruder]}

M104 S[first_layer_temperature[initial_extruder]] ;set extruder temp

M109 S{first_layer_temperature[initial_extruder]-20} ; drop nozzle temp 20c

{if filament_type[initial_tool]==“PLA”}
{if (bed_temperature[current_extruder] >45)||(first_layer_bed_temperature[current_extruder] >45)}
M106 P3 S180
{elsif (bed_temperature[current_extruder] >50)||(first_layer_bed_temperature[current_extruder] >50)}
M106 P3 S255
{endif};Prevent PLA from jamming
{endif}

M620 S[initial_tool]A ; switch material if AMS exist

M621 S[initial_tool]A

T[initial_tool]

Turn off the texture bed plate G-code

;{elsif (curr_bed_type==“Textured PEI Plate”)}
; G29.1 Z{-0.04} ; for Textured PEI Plate
;{else}
; G29.1 Z{0.00} ; for High Temp or Engineering Plate
;{endif}

You can turn stuff off by commenting relative lines like the bed plate above.

Filament Settings Start G-code you might want to do something like this also.

M106 P3 S127 ; Chamber fan 0 to 255 on/off by commenting the line
;M106 P2 S78 ; Aux fan 0 to 255 on/off by commenting the line
;G29.1 Z-0.04 ; Textured bed plate on/off by commenting the line

This will get you started if you get any errors on other G-codes just post them.

Bambu Lab Specific G-Code